diff options
author | Filipe Manana <[email protected]> | 2024-06-03 13:25:00 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-07-11 15:33:22 +0200 |
commit | 03103ecf5ec95743615113e5d2d8feb8d1a42859 (patch) | |
tree | 85395c593e99faf877be71bbb61991c64f4a9914 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 2917f74102cf23afe770c1293aabce005f956b4f (diff) |
btrfs: reduce critical section at btrfs_wait_ordered_roots()
At btrfs_wait_ordered_roots(), there's no point in decrementing the
counter after locking fs_info->ordered_root_lock as the counter is local.
So change this to decrement the counter before taking the lock.
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions