OSDN Git Service

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)
commit6dbdd578cd4fcb88ad9e57777a140e3349323e28
tree40784ce5b988ec4b7c19bb39063def721b345c1b
parentee6adbfd6a2c15a71fb26d9321c97bef09ae0534
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