On 3/27/24 5:43 PM, Damien Le Moal wrote:
Implement the inline helper functions bio_straddles_zones() and bio_offset_from_zone_start() to respectively test if a BIO crosses a zone boundary (the start sector and last sector belong to different zones) and to obtain the offset of a BIO from the start sector of its target zone.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>