linux_dsm_epyc7002/fs/btrfs/tests
Josef Bacik c75e839414 btrfs: kill the subvol_srcu
Now that we have proper root ref counting everywhere we can kill the
subvol_srcu.

* removal of fs_info::subvol_srcu reduces size of fs_info by 1176 bytes

* the refcount_t used for the references checks for accidental 0->1
  in cases where the root lifetime would not be properly protected

* there's a leak detector for roots to catch unfreed roots at umount
  time

* SRCU served us well over the years but is was not a proper
  synchronization mechanism for some cases

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
2020-03-23 17:02:00 +01:00
..
btrfs-tests.c btrfs: kill the subvol_srcu 2020-03-23 17:02:00 +01:00
btrfs-tests.h
extent-buffer-tests.c
extent-io-tests.c
extent-map-tests.c
free-space-tests.c
free-space-tree-tests.c
inode-tests.c
qgroup-tests.c btrfs: don't take an extra root ref at allocation time 2020-03-23 17:01:59 +01:00