Question on restoring saved mode parameters

Knight, Frederick Frederick.Knight at netapp.com
Thu Mar 21 14:06:44 PDT 2013


Formatted message: <a href="http://www.t10.org/cgi-bin/ac.pl?t=r&f=r1303214_f.htm">HTML-formatted message</a>

I agree also; in addition, I thought SAM had a pretty clear chain from
Transport Reset events to hard reset, and then to Logical Unit Reset; which
requires restoring saved mode parameters (if they exist):
6.3.2 Hard reset
Hard reset is a SCSI device condition resulting from:
a) a power on condition (see 6.3.1);
b) microcode change (see SPC-4); or
c) a reset event indicated by a Transport Reset event notification (see 6.4).
<...>
6.3.3 Logical unit reset
Logical unit reset is a logical unit condition resulting from:
a) a hard reset condition (see 6.3.2); or
b) a logical unit reset event indicating that a LOGICAL UNIT RESET task
management request (see 7.7)
has been processed.
		Fred
From: owner-t10 at t10.org [mailto:owner-t10 at t10.org] On Behalf Of Bellamy,
Wayne (mellow fellow)
Sent: Thursday, March 21, 2013 10:51 AM
To: Kevin_Marks at Dell.com; gerry.houlder at seagate.com; t10 at t10.org
Subject: RE: Question on restoring saved mode parameters
Agreeing with Kevin and Gerry.
Wayne
From: owner-t10 at t10.org [mailto:owner-t10 at t10.org] On Behalf Of
Kevin_Marks at Dell.com
Sent: Wednesday, March 20, 2013 2:57 PM
To: gerry.houlder at seagate.com; t10 at t10.org
Subject: RE: Question on restoring saved mode parameters
Yes, assuming there are saved mode parameters.
Kevin
From: owner-t10 at t10.org<mailto:owner-t10 at t10.org> [mailto:owner-t10 at t10.org]
On Behalf Of Gerry Houlder
Sent: Wednesday, March 20, 2013 9:12 AM
To: T10 Reflector
Subject: Question on restoring saved mode parameters
Hi,
A question has come up on whether hard reset (e.g., the HARD_RESET primitive
is SAS) should cause saved mode parameters to be restored in a SCSI target
device.
SPC-4 is pretty clear that a power on event or a logical unit reset shall
cause saved parameters to be restored, but is silent about hard reset.
However, SAM-5 has wording stating "A SCSI target port's response to a hard
reset condition shall include a logical unit reset condition (see 6.3.3) for
all logical units to which the SCSI target port has access", which suggests
that a hard reset shall include all behavior specified for a logical unit
reset (per SPC-4, this includes restoring saved mode parameters).
I think the correct interpretation is that hard reset restores saved mode
parameters, even though hard reset is not mentioned in SPC-4 as an event that
causes saved parameters to be restored. Does anyone disagree with this?



More information about the T10 mailing list