diff options
author | 2018-05-11 13:13:36 -0700 | |
---|---|---|
committer | 2018-05-28 18:23:52 +0200 | |
commit | 4b9d7b59bfcb62a7d438876eac5a054db32904dd (patch) | |
tree | c3e93971288d334bac61eb7954407b75e1a1835a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: don't return ino to ino cache if inode item removal fails (diff) | |
download | linux-dev-4b9d7b59bfcb62a7d438876eac5a054db32904dd.tar.xz linux-dev-4b9d7b59bfcb62a7d438876eac5a054db32904dd.zip |
Btrfs: refactor btrfs_evict_inode() reserve refill dance
The truncate loop in btrfs_evict_inode() does two things at once:
- It refills the temporary block reserve, potentially stealing from the
global reserve or committing
- It calls btrfs_truncate_inode_items()
The tangle of continues hides the fact that these two steps are actually
separate. Split the first step out into a separate function both for
clarity and so that we can reuse it in a later patch.
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