Re: [PATCH v2 0/4] btrfs: some trivial cleanups related to io trees

Boris Burkov
2025-04-01T15:45:55Z

On Tue, Apr 01, 2025 at 04:29:50PM +0100, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
>
> Some simple cleanups related to io trees that are very trivial and were
> initally part of a larger patchset. Details in the change logs.

Reviewed-by: Boris Burkov <boris@bur.io>

>
> V2: Added patch 3/4.
>
> Filipe Manana (4):
> btrfs: use clear_extent_bit() at try_release_extent_state()
> btrfs: use clear_extent_bits() at chunk_map_device_clear_bits()
> btrfs: use clear_extent_bits() instead of clear_extent_bit() where possible
> btrfs: simplify last record detection at test_range_bit_exists()
>
> fs/btrfs/extent-io-tree.c | 8 +++-----
> fs/btrfs/extent_io.c | 2 +-
> fs/btrfs/inode.c | 3 +--
> fs/btrfs/reflink.c | 5 ++---
> fs/btrfs/tests/inode-tests.c | 24 ++++++++++++------------
> fs/btrfs/volumes.c | 7 +++----
> 6 files changed, 22 insertions(+), 27 deletions(-)
>
> --
> 2.45.2
>