On 11/4/24 15:26, Christoph Hellwig wrote: > For zoned devices, write zeroes must be split at the zone boundary > which is represented as chunk_sectors. For other uses like the > internally RAIDed NVMe devices it is probably at least useful. > > Enhance get_max_io_size to know about write zeroes and use it in > bio_split_write_zeroes. Also add a comment about the seemingly > nonsensical zero max_write_zeroes limit. > > Fixes: 885fa13f6559 ("block: implement splitting of REQ_OP_WRITE_ZEROES bios") > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Looks OK to me. Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx> -- Damien Le Moal Western Digital Research