diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2017-03-09 09:34:42 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-08-16 16:12:02 +0200 |
commit | c55024514852930a6a31b6794aad44a56b117d9d (patch) | |
tree | b271060548ef5c4df1de31d449bcc6d10892ff52 /fs/btrfs/qgroup.c | |
parent | bc3cce2378b9eeb420873b17664493e68fd07e8c (diff) | |
download | blackbird-obmc-linux-c55024514852930a6a31b6794aad44a56b117d9d.tar.gz blackbird-obmc-linux-c55024514852930a6a31b6794aad44a56b117d9d.zip |
btrfs: Enhance message when a device is missing during mount
For a missing device, btrfs will just refuse to mount with almost
meaningless kernel message like:
BTRFS info (device vdb6): disk space caching is enabled
BTRFS info (device vdb6): has skinny extents
BTRFS error (device vdb6): failed to read the system array: -5
BTRFS error (device vdb6): open_ctree failed
This patch will print a new message about the missing device:
BTRFS info (device vdb6): disk space caching is enabled
BTRFS info (device vdb6): has skinny extents
BTRFS warning (device vdb6): devid 2 uuid 80470722-cad2-4b90-b7c3-fee294552f1b is missing
BTRFS error (device vdb6): failed to read the system array: -5
BTRFS error (device vdb6): open_ctree failed
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
0 files changed, 0 insertions, 0 deletions