On 24/06/2025 13:52, Christoph Hellwig wrote:
virt_boundary_mask implies an unlimited max_segment_size. Setting both can lead to data corruption because __blk_rq_map_sg() can split requests so that the virt_boundary_mask is not respected if max_segment_size is not UINT_MAX. Signed-off-by: Christoph Hellwig<hch@xxxxxx> Reviewed-by: Hannes Reinecke<hare@xxxxxxx>
Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>