summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorNiklas Cassel <cassel@kernel.org>2026-09-29 10:25:06 +0200
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-10-03 10:14:30 -0400
commitb8fad9f02485f179e35bc4677386b6608d8cefb0 (patch)
tree91bd2bcbc9bf2e4031b050d06bc09460c4f5313e /scripts/Makefile.thinlto
parent63cb3900be261fccc05cadcf3402058418a5fada (diff)
downloadlinux-next-b8fad9f02485f179e35bc4677386b6608d8cefb0.tar.gz
linux-next-b8fad9f02485f179e35bc4677386b6608d8cefb0.zip
scsi: scsi_debug: Do not write a partial physical block to a zoned device
do_device_access() copies one logical block at a time and stops at the first short copy, so a data-out buffer smaller than the transfer length of the command can leave part of a physical block written. An initiator can arrange that with SG_IO. That is acceptable everywhere but a sequential write required zone, where ZBC-3 r06 (T10/BSR INCITS 579), 4.5.3.3.2, requires a write to end on a physical block boundary. For such a zone, stop at the last whole physical block that the buffer holds. The bytes left over are not written, and are reported to the initiator as part of the residual. Assisted-by: LLM Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Niklas Cassel <cassel@kernel.org> Link: https://patch.msgid.link/20260929082456.857423-24-cassel@kernel.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions