On 3/24/24 21:44, Damien Le Moal wrote:
+static inline bool bio_straddle_zones(struct bio *bio) +{ + return bio_sectors(bio) && + bio_zone_no(bio) != + disk_zone_no(bio->bi_bdev->bd_disk, bio_end_sector(bio) - 1); +}
Please rename bio_straddle_zones() into bio_straddles_zones() (grammar). Thanks, Bart.