diff options
| author | 2025-10-20 13:17:23 +0100 | |
|---|---|---|
| committer | 2025-11-24 22:15:09 +0100 | |
| commit | c0d0b13d27f8cf9d5bf5adae52df8ec781fbb983 (patch) | |
| tree | 524c1d921dc603ecbd29cacac60500ef23dd07af /scripts/Makefile.thinlto | |
| parent | btrfs: reduce block group critical section in btrfs_add_reserved_bytes() (diff) | |
btrfs: reduce block group critical section in do_trimming()
There's no need to update the bytes_reserved and bytes_readonly fields of
the space_info while holding the block group's spinlock. We are only
making the critical section longer than necessary. So move the space_info
updates outside of the block group's critical section.
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
