]> git.ipfire.org Git - people/ms/linux.git/commit - fs/btrfs/block-group.c
btrfs: update comments for chunk allocation -ENOSPC cases
authorFilipe Manana <fdmanana@suse.com>
Wed, 13 Oct 2021 09:12:50 +0000 (10:12 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Oct 2021 17:08:07 +0000 (19:08 +0200)
commitecd84d54674a06e64613eae33999db8e180f4450
treecaa4ee3843d9b074771dabfaac7779d428aff10e
parent2bb2e00ed9787e52580bb651264b8d6a2b7a9dd2
btrfs: update comments for chunk allocation -ENOSPC cases

Update the comments at btrfs_chunk_alloc() and do_chunk_alloc() that
describe which cases can lead to a failure to allocate metadata and system
space despite having previously reserved space. This adds one more reason
that I previously forgot to mention.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c