]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15cc7d814618684236810145e938543ba78bfeb3
treecaa4ee3843d9b074771dabfaac7779d428aff10e
parentf7c0b346a4104ce665971c702a126a257df584a9
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