summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorMartin K. Petersen (Oracle) <mkp@kernel.org>2026-10-03 10:18:49 -0400
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-10-03 10:18:49 -0400
commite16f7b7dee2f817746dde8ab56a4025f32bb7160 (patch)
tree448b4aaffe979247d3ea7624911a1c50498b5b3d /tools/lib/python
parentd2398f2e2e5d3ad3ff0542fb12009b709045dbd8 (diff)
parenta6c339feb830daa097ccc4c50c339c1733c12d42 (diff)
downloadlinux-next-e16f7b7dee2f817746dde8ab56a4025f32bb7160.tar.gz
linux-next-e16f7b7dee2f817746dde8ab56a4025f32bb7160.zip
Merge patch series "scsi: scsi_debug: fix zoned write validation"
Niklas Cassel <cassel@kernel.org> says: This series fixes scsi_debug with regards to writes to a ZBC drive, and to WRITE ATOMIC (16). Each patch describes the problem that it fixes. Two configurations are refused rather than emulated, and those two patches come first, as the rest of the series relies on what they exclude: a zoned device whose lowest aligned LBA is not zero, which no host writing in units of the reported zone write granularity could ever write, and atomic writes on a zoned device, which no drive supports. Little of this is reachable in a default configuration. Most of it needs physblk_exp, atomic_wr or logical block provisioning to be set, or an initiator that does not provide a data buffer matching the transfer length of the command. The series is based on 7.4/scsi-staging rather than 7.3/scsi-fixes (as Damien suggested on v1) to avoid a build failure that would have happened if this series was simply merged with linux-next: error: too many arguments to function 'mk_sense_buffer' Tested on a zoned scsi_debug device with 512 byte logical blocks and a 4096 byte physical block, and on a device that is not zoned for the WRITE ATOMIC (16) patches. The notes below each patch describe what was observed before and after it. Link: https://patch.msgid.link/20260929082456.857423-15-cassel@kernel.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions