On 9/3/25 9:59 AM, Yu Kuai wrote:
在 2025/9/3 21:34, Christoph Hellwig 写道:
+ if (split && !bdev_is_zoned(bio->bi_bdev))
>>
Why are zoned devices special cased here?
I'm not that sure about zoned device before, I'll remove this checking,
and mention the problem Bart met in commit message in the next version.
If I keep the bdev_is_zoned() check, test zbd/014 fails. If I remove it,
test zbd/014 passes. I think that's a strong argument to remove that
check. Test zbd/014 is not yet in the blktests repository but is
available here:
https://lore.kernel.org/linux-block/a8a714c7-de3d-4cc9-8c23-38b8dc06f5bb@xxxxxxx/
Thanks,
Bart.