]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove global rsv stealing logic for orphan cleanup
authorJosef Bacik <josef@toxicpanda.com>
Tue, 9 Nov 2021 15:12:05 +0000 (10:12 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:45 +0000 (15:09 +0100)
commitdc9005f38f8b1885afcb828187f0b1a465c68674
tree40784ce5b988ec4b7c19bb39063def721b345c1b
parentd6b649e7e1f75267425e1a96927b652e1af589c3
btrfs: remove global rsv stealing logic for orphan cleanup

This is very old code before we were stealing from the global reserve
during evict.  We have proper ways to steal from the global reserve
while we're evicting, so rip out this code as it's no longer necessary.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c