aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorZhao Lei <[email protected]>2015-07-20 17:54:50 +0800
committerChris Mason <[email protected]>2015-08-09 07:07:10 -0700
commit78fa177029802f7f10953d357067171f39a79b81 (patch)
tree4fad44e0af6c011fb8ba00a0f21cad1b95e8d6d1 /tools/perf/scripts/python/sctop.py
parenta323e8139c3617b2bf975317725d0fd962886d06 (diff)
btrfs: Show detail information when mount failed on missing devices
When mount failed because missing device, we can see following dmesg: [ 1060.267743] BTRFS: too many missing devices, writeable mount is not allowed [ 1060.273158] BTRFS: open_ctree failed This patch add missing_device_number and tolerated_missing_device_number to above output, to let user know what really happened, and helps bug-report and debug. dmesg after patch: [ 127.050367] BTRFS: missing devices(1) exceeds the limit(0), writeable mount is not allowed [ 127.056099] BTRFS: open_ctree failed Changelog v1->v2: 1: Changed to more clear description, suggested-by: Anand Jain <[email protected]> Suggested-by: Anand Jain <[email protected]> Signed-off-by: Zhao Lei <[email protected]> Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions