diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-07-08 16:32:33 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-07-22 00:09:22 +0200 |
commit | bfc9d71aa41d6cfc32b60318222b3e65352b0776 (patch) | |
tree | 7d4f96581fc39c5e540ed675953e5e8456556a9b /lib/xarray.c | |
parent | 5ae011bcbb5ac088e5fa41fcaf3896fc866c0b9a (diff) |
btrfs: set EXTENT_NORESERVE before range unlock in btrfs_truncate_block()
Set the EXTENT_NORESERVE bit in the io tree before unlocking the range so
that we can use the cached state and speedup the operation, since the
unlock operation releases the cached state.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions