diff options
| author | Coly Li <[email protected]> | 2019-06-28 19:59:39 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-06-28 07:39:15 -0600 |
| commit | e0faa3d7f79f7e1abb43de168e88c76061518ea4 (patch) | |
| tree | be0414ddc41dab93b423108558179691cb571e1d /lib/mpi/mpi-cmp.c | |
| parent | 633bb2ce60b949e2990c15324be162c54788c027 (diff) | |
bcache: improve error message in bch_cached_dev_run()
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: Coly Li <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions