On Fri, Apr 28, 2023 at 10:03:45AM -0700, Bart Van Assche wrote: > Because the blk_rq_zone_no() definition is surrounded with #ifdef > CONFIG_BLK_DEV_ZONED / #endif. Without the #ifdef the above code would > trigger a compilation error with CONFIG_BLK_DEV_ZONED=n. I have considered > to add a definition of blk_rq_zone_no() for CONFIG_BLK_DEV_ZONED=n. I > prefer not to do this because I think it's better to cause a compiler error > if blk_rq_zone_no() is used in code that is also used for the > CONFIG_BLK_DEV_ZONED=n case. Ok.