diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-10-20 14:39:52 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-11-25 00:13:25 +0300 |
| commit | f7a32dd2a616c333cff2d6fb7e3d854ec8d3ae41 (patch) | |
| tree | fde658432fb449c3f60cad6aefe4ab4474217d6a /include/linux/debugobjects.h | |
| parent | b70c32f10a049a6e7c7c718d6ce69554af1e9b3c (diff) | |
| download | linux-f7a32dd2a616c333cff2d6fb7e3d854ec8d3ae41.tar.xz | |
btrfs: reduce space_info critical section in btrfs_chunk_alloc()
There's no need to update local variables while holding the space_info's
spinlock, since the update isn't using anything from the space_info. So
move these updates outside the critical section to shorten it.
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
