From: Bart Van Assche <bvanassche@acm.org>
To: target-devel@vger.kernel.org
Subject: Re: [PATCH 03/11] target/core: Release SPC-2 reservation upon initiator logout
Date: Tue, 09 Apr 2019 17:25:15 +0000 [thread overview]
Message-ID: <1554830715.161891.11.camel@acm.org> (raw)
In-Reply-To: <20190402195815.254796-4-bvanassche@acm.org>
On Tue, 2019-04-09 at 00:47 -0500, Mike Christie wrote:
+AD4 I don't know.
+AD4
+AD4 For the hard reset/reset event case, if we go by SAM 2 which iscsi RFC
+AD4 7143 and 3720 say they are based on at the beginning of their
+AD4 definitions then it sounds like it depends on the transport spec for
+AD4 what is a hard reset. We have this from SAM 2:
+AD4
+AD4 5.9.6 Hard reset:
+AD4
+AD4 A hard reset is a SCSI target port action in response to a reset event
+AD4 within the service delivery subsystem. A wakeup event (see 3.1.132) is a
+AD4 reset event. The definition of additional reset events is SCSI transport
+AD4 protocol specific. Each SCSI transport protocol standard that defines
+AD4 reset events shall specify the SCSI target port+IBk-s action
+AD4 in response to reset events.
+AD4
+AD4 --------
+AD4
+AD4 That might sound like a wake event is a hard reset defined by SAM 2, and
+AD4 the transport defines others. In the iscsi RFC the only mention of reset
+AD4 events is when handling the iSCSI TARGET COLD RESET TMF. However, the
+AD4 RFC does define the session reinstatement case as a I+AF8-T nexus loss
+AD4 event, so if that is considered a hard reset by the SAM 2 definition
+AD4 then I think your patch is correct. I have no idea if other software
+AD4 writers read the specs/rfcs like maybe Nick did though.
Hi Mike,
I'm fine with leaving out patch 3/11. But even if this patch is left out
that still leaves the question open what the behavior of RESERVE/RELEASE
should be ...
Bart.
prev parent reply other threads:[~2019-04-09 17:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-02 19:58 [PATCH 03/11] target/core: Release SPC-2 reservation upon initiator logout Bart Van Assche
2019-04-08 20:04 ` Mike Christie
2019-04-08 20:17 ` Bart Van Assche
2019-04-08 22:41 ` Mike Christie
2019-04-08 23:17 ` Bart Van Assche
2019-04-09 5:47 ` Mike Christie
2019-04-09 17:25 ` Bart Van Assche [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=1554830715.161891.11.camel@acm.org \
--to=bvanassche@acm.org \
--cc=target-devel@vger.kernel.org \
/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