diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-06-03 13:30:35 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:23 +0200 |
commit | ac1f580c10f31063ce9dae840d3499d41e3854ce (patch) | |
tree | 408d8b03828934d278ff4b084b7fba01d0f89123 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 03103ecf5ec95743615113e5d2d8feb8d1a42859 (diff) |
btrfs: reduce critical section at btrfs_wait_ordered_extents()
At btrfs_wait_ordered_extents(), there's no point in updating the counters
after locking the root's ordered extent lock, as the counters are local.
So change this to update the counters before taking the lock.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@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