Re: [PATCH v11 02/40] iomap: support REQ_OP_ZONE_APPEND
From: Johannes Thumshirn <hidden>
Date: 2021-01-13 09:36:24
Also in:
linux-fsdevel
From: Johannes Thumshirn <hidden>
Date: 2021-01-13 09:36:24
Also in:
linux-fsdevel
On 04/01/2021 23:36, Darrick J. Wong wrote:
On Tue, Dec 22, 2020 at 12:48:55PM +0900, Naohiro Aota wrote:quoted
A ZONE_APPEND bio must follow hardware restrictions (e.g. not exceeding max_zone_append_sectors) not to be split. bio_iov_iter_get_pages builds such restricted bio using __bio_iov_append_get_pages if bio_op(bio) == REQ_OP_ZONE_APPEND. To utilize it, we need to set the bio_op before calling bio_iov_iter_get_pages(). This commit introduces IOMAP_F_ZONE_APPEND, so that iomap user can set the flag to indicate they want REQ_OP_ZONE_APPEND and restricted bio. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>Looks fine to me too, Reviewed-by: Darrick J. Wong <redacted> Do the authors intend this one patch to go into 5.12 via the iomap tree?
If we can't get the whole series into 5.12, this would be very nice. If David pulls the series I think it's more of a hassle for him, as the btrfs tree will have a dependency on the iomap tree. But I think this is something you and David have to decide.