Re: [dm-devel] [PATCH v2 02/11] block: introduce bio zone helpers

2021-05-19 Thread Hannes Reinecke
On 5/20/21 6:22 AM, Damien Le Moal wrote: Introduce the helper functions bio_zone_no() and bio_zone_is_seq(). Both are the BIO counterparts of the request helpers blk_rq_zone_no() and blk_rq_zone_is_seq(), respectively returning the number of the target zone of a bio and true if the BIO target

[dm-devel] [PATCH v2 02/11] block: introduce bio zone helpers

2021-05-19 Thread Damien Le Moal
Introduce the helper functions bio_zone_no() and bio_zone_is_seq(). Both are the BIO counterparts of the request helpers blk_rq_zone_no() and blk_rq_zone_is_seq(), respectively returning the number of the target zone of a bio and true if the BIO target zone is sequential. Signed-off-by: Damien Le