summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-01-22 06:50:54 +0100
committerDavid Sterba <dsterba@suse.com>2018-03-26 15:09:35 +0200
commit4117f207d4b0d85ab78fec9cb138ed9c2a4b9f20 (patch)
tree30ece2213030cb2f2b6cc1a594e5e07c7711abb6 /fs/btrfs/scrub.c
parentbtrfs: use ASSERT to report logical error in cow_file_range() (diff)
downloadlinux-4117f207d4b0d85ab78fec9cb138ed9c2a4b9f20.tar.xz
linux-4117f207d4b0d85ab78fec9cb138ed9c2a4b9f20.zip
btrfs: Add chunk allocation ENOSPC debug message for enospc_debug mount option
Enospc_debug makes extent allocator print more debug messages, however for chunk allocation, there is no debug message for enospc_debug at all. This patch will add message for the following parts of chunk allocator: 1) No rw device at all Quite rare, but at least output one message for this case. 2) Not enough space for some device This debug message is quite handy for unbalanced disks with stripe based profiles (RAID0/10/5/6). 3) Not enough free devices This debug message should tell us if current chunk allocator is working correctly under minimal device requirements. Although in most cases, we will hit other ENOSPC before we even hit a chunk allocator ENOSPC, but such debug info won't help. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions