diff options
| author | Nikolay Borisov <[email protected]> | 2019-05-07 10:19:24 +0300 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-07-01 13:34:59 +0200 |
| commit | bd80d94efb83acd67d48f9f3f07483c8306085aa (patch) | |
| tree | 5776fa204d2772616ca1f0fd083334314fe79a86 /tools/perf/scripts/python | |
| parent | 23d31bd476d1d096d0f073483547872ec155ab34 (diff) | |
btrfs: Always use a cached extent_state in btrfs_lock_and_flush_ordered_range
In case no cached_state argument is passed to
btrfs_lock_and_flush_ordered_range use one locally in the function. This
optimises the case when an ordered extent is found since the unlock
function will be able to unlock that state directly without searching
for it again.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions