summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-06-24 14:52:27 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2025-06-24 21:20:57 -0400
commit844c6a160e69cc6d1da4b666f8672f6fc5f4f862 (patch)
tree2a62bfe060cda58e575a97d8823b3570cadc99bc /scripts/lib/kdoc/kdoc_output.py
parent8889676cd62161896f1d861ce294adc29c4f2cb5 (diff)
scsi: RDMA/srp: Don't set a max_segment_size when virt_boundary_mask is set
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@lst.de> Link: https://lore.kernel.org/r/20250624125233.219635-2-hch@lst.de Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: John Garry <john.g.garry@oracle.com> Acked-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions