summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2019-06-28 14:59:39 +0300
committerJens Axboe <axboe@kernel.dk>2019-06-28 16:39:15 +0300
commite0faa3d7f79f7e1abb43de168e88c76061518ea4 (patch)
treebe0414ddc41dab93b423108558179691cb571e1d /tools/perf/scripts/python/exported-sql-viewer.py
parent633bb2ce60b949e2990c15324be162c54788c027 (diff)
downloadlinux-e0faa3d7f79f7e1abb43de168e88c76061518ea4.tar.xz
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 <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions