summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-01-22 08:50:54 +0300
committerDavid Sterba <dsterba@suse.com>2018-03-26 16:09:35 +0300
commit4117f207d4b0d85ab78fec9cb138ed9c2a4b9f20 (patch)
tree30ece2213030cb2f2b6cc1a594e5e07c7711abb6 /include/linux/raid
parent566b1760b42be7c99c02e894b1ec9a707c2e83d1 (diff)
downloadlinux-4117f207d4b0d85ab78fec9cb138ed9c2a4b9f20.tar.xz
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 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions