diff options
author | 2018-05-11 13:13:38 -0700 | |
---|---|---|
committer | 2018-05-28 18:23:57 +0200 | |
commit | a575ceeb1338e7eae6d14e223b077b3c6fd3bb6b (patch) | |
tree | 4217b93527ffc4a31a9c85dd787dde1c24bb1154 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: fix ENOSPC caused by orphan items reservations (diff) | |
download | linux-dev-a575ceeb1338e7eae6d14e223b077b3c6fd3bb6b.tar.xz linux-dev-a575ceeb1338e7eae6d14e223b077b3c6fd3bb6b.zip |
Btrfs: get rid of unused orphan infrastructure
Now that we don't keep long-standing reservations for orphan items,
root->orphan_block_rsv isn't used. We can git rid of it, along with:
- root->orphan_lock, which was used to protect root->orphan_block_rsv
- root->orphan_inodes, which was used as a refcount for root->orphan_block_rsv
- BTRFS_INODE_ORPHAN_META_RESERVED, which was used to track reservations
in root->orphan_block_rsv
- btrfs_orphan_commit_root(), which was the last user of any of these
and does nothing else
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions