On 04/01/2021 23:36, Darrick J. Wong wrote:
> On Tue, Dec 22, 2020 at 12:48:55PM +0900, Naohiro Aota wrote:
>> 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 <[email protected]>
>> Signed-off-by: Naohiro Aota <[email protected]>
> 
> Looks fine to me too,
> Reviewed-by: Darrick J. Wong <[email protected]>
> 
> 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.

Reply via email to