From: Damien Le Moal <dlemoal@kernel.org>
To: Tal Zussman <tz2294@columbia.edu>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <mkp@kernel.org>,
Douglas Gilbert <dgilbert@interlog.com>,
Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Cc: 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: Mon, 16 Nov 2026 13:42:08 -0800 [thread overview]
Message-ID: <dbb87d33-095b-45af-9e5f-c2d8fc94ebfc@kernel.org> (raw)
In-Reply-To: <20261116-scsi-debug-zone-reset-v2-0-83c8a9841f4c@columbia.edu>
On 11/16/26 13:06, 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.
Looks OK.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
--
Damien Le Moal
Western Digital Research
prev parent reply other threads:[~2026-11-16 21:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 21:06 [PATCH v2 0/2] scsi: scsi_debug: fix zone reset with virtual_gb and DIX 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 ` Damien Le Moal [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=dbb87d33-095b-45af-9e5f-c2d8fc94ebfc@kernel.org \
--to=dlemoal@kernel.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=dgilbert@interlog.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mkp@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.