[dm-devel] [PATCH 03/11] block: introduce BIO_ZONE_WRITE_LOCKED bio flag

Damien Le Moal Damien.LeMoal at wdc.com
Wed May 19 09:50:44 UTC 2021


On 2021/05/19 18:42, Christoph Hellwig wrote:
> On Wed, May 19, 2021 at 11:55:21AM +0900, Damien Le Moal wrote:
>> Introduce the BIO flag BIO_ZONE_WRITE_LOCKED to indicate that a BIO owns
>> the write lock of the zone it is targeting. This is the counterpart of
>> the struct request flag RQF_ZONE_WRITE_LOCKED. This new BIO flag is
>> reserved for now for zone write locking control for device mapper
>> targets exposing a zoned block device.
> 
> So normally we try to use a REQ_* flag instead of duplicate BIO_ and
> RQF ones.  But I think this is a special case as the flag never gets
> propagated.  Can you document that in the commit log?

Will do.

> 
> With that:
> 
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> 


-- 
Damien Le Moal
Western Digital Research






More information about the dm-devel mailing list