• Coly Li's avatar
    bcache: improve error message in bch_cached_dev_run() · e0faa3d7
    Coly Li authored
    This patch adds more error message in bch_cached_dev_run() to indicate
    the exact reason why an error value is returned. Please notice when
    printing out the "is running already" message, pr_info() is used here,
    because in this case also -EBUSY is returned, the bcache device can
    continue to attach to the cache devince and run, so it won't be an
    error level message in kernel message.
    Signed-off-by: default avatarColy Li <colyli@suse.de>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    e0faa3d7
super.c 62.7 KB