Re: [PATCH 01/13] btrfs: factor out helper for single device IO check

From: Christoph Hellwig
Date: Wed Dec 13 2023 - 03:49:41 EST


On Tue, Dec 12, 2023 at 04:37:59AM -0800, Johannes Thumshirn wrote:
> The check in btrfs_map_block() deciding if a particular I/O is targeting a
> single device is getting more and more convoluted.
>
> Factor out the check conditions into a helper function, with no functional
> change otherwise.

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>