From: "Martin K. Petersen" <mkp@kernel.org>
To: Tal Zussman <tz2294@columbia.edu>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <mkp@kernel.org>,
Damien Le Moal <dlemoal@kernel.org>,
Douglas Gilbert <dgilbert@interlog.com>,
Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/2] scsi: scsi_debug: fix zone reset with virtual_gb and DIX
Date: Fri, 20 Nov 2026 21:46:52 -0500 [thread overview]
Message-ID: <yq1ik1qoq99.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261116-scsi-debug-zone-reset-v2-0-83c8a9841f4c@columbia.edu>
Tal,
> 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-staging, thanks!
--
Martin K. Petersen
prev parent reply other threads:[~2026-11-21 2:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 21:06 Tal Zussman
2026-11-16 21:06 ` [PATCH v2 1/2] scsi: scsi_debug: wrap around the store when zeroing a reset zone Tal Zussman
2026-11-16 21:06 ` [PATCH v2 2/2] scsi: scsi_debug: reset protection information on zone reset Tal Zussman
2026-11-16 21:42 ` [PATCH v2 0/2] scsi: scsi_debug: fix zone reset with virtual_gb and DIX Damien Le Moal
2026-11-21 2:46 ` Martin K. Petersen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq1ik1qoq99.fsf@mail.kernel.org \
--to=mkp@kernel.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=dgilbert@interlog.com \
--cc=dlemoal@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=shinichiro.kawasaki@wdc.com \
--cc=tz2294@columbia.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®