diff options
author | 2019-05-07 10:19:22 +0300 | |
---|---|---|
committer | 2019-07-01 13:34:59 +0200 | |
commit | ffa87214c1100c7ea38e85a3cf981d0d47b1c744 (patch) | |
tree | 6f8e12740a03383376cb4321fef14eeeeb3034e6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | btrfs: remove the incorrect comment on RO fs when btrfs_run_delalloc_range() fails (diff) | |
download | linux-dev-ffa87214c1100c7ea38e85a3cf981d0d47b1c744.tar.xz linux-dev-ffa87214c1100c7ea38e85a3cf981d0d47b1c744.zip |
btrfs: add new helper btrfs_lock_and_flush_ordered_range
There is a certain idiom used in multiple places in btrfs' codebase,
dealing with flushing an ordered range. Factor this in a separate
function that can be reused. Future patches will replace the existing
code with that function.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions