Re: [PATCH v2 0/2] scsi: scsi_debug: fix zone reset with virtual_gb and DIX

From: Martin K. Petersen (Oracle)

Date: Wed Nov 25 2026 - 22:35:47 EST


On Mon, 16 Nov 2026 16:06:52 -0500, Tal Zussman wrote:

> Resetting a written zone on scsi_debug zeroes the zone's blocks in the
> store, but does so with a raw offset that doesn't wrap around the store
> like writes do, and without resetting the blocks' protection
> information. With virtual_gb set, resetting a zone that starts past the
> end of the store oopses. With DIX enabled, a reset zone can't be read
> back. The first patch makes the reset wrap around the end of the store
> like writes do. The second resets the protection information of the
> zeroed blocks.
>
> [...]

Applied to 7.5/scsi-queue, thanks!

[1/2] scsi: scsi_debug: wrap around the store when zeroing a reset zone
https://git.kernel.org/mkp/scsi/c/78f28a31d7d6
[2/2] scsi: scsi_debug: reset protection information on zone reset
https://git.kernel.org/mkp/scsi/c/021fae688d1e

--
Martin K. Petersen