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/export-to-postgresql.py | |
| parent | btrfs: reduce critical section at btrfs_wait_ordered_roots() (diff) | |
| download | linux-ac1f580c10f31063ce9dae840d3499d41e3854ce.tar.gz linux-ac1f580c10f31063ce9dae840d3499d41e3854ce.zip | |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
