diff options
| author | Josef Bacik <[email protected]> | 2022-09-30 16:45:09 -0400 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-12-05 18:00:35 +0100 |
| commit | 83ae4133ac9410ac6a57136e464d498dc66200cf (patch) | |
| tree | bd15d841a61d95ee74c41f6773ea748bbe617951 /tools/perf/scripts/python/bin | |
| parent | 76dcd734eca23168cb008912c0f69ff408905235 (diff) | |
btrfs: add a cached_state to try_lock_extent
With nowait becoming more pervasive throughout our codebase go ahead and
add a cached_state to try_lock_extent(). This allows us to be faster
about clearing the locked area if we have contention, and then gives us
the same optimization for unlock if we are able to lock the range.
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions