All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
	axboe@fb.com, nab@daterainc.com, linux-scsi@vger.kernel.org
Subject: Re: [PATCH 5/6] [SCSI] Look up and store NAA if VPD page 0x83 is present
Date: Thu, 17 Jul 2014 11:43:48 -0400	[thread overview]
Message-ID: <yq1mwc8ourv.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <53C7B7F1.2060005@acm.org> (Bart Van Assche's message of "Thu, 17 Jul 2014 13:48:01 +0200")

>>>>> "Bart" == Bart Van Assche <bvanassche@acm.org> writes:

Bart> Sorry for the late reply but it's only now that I noticed this
Bart> patch.  Are you sure that presence of a NAA descriptor is
Bart> mandatory ? This is what I found in SPC-4 r37 paragraph 7.8.6.2.1:

Bart> <quote> At least one designation descriptor should have the
Bart> DESIGNATOR TYPE field set to:
Bart> a) 2h (i.e., EUI-64-based);
Bart> b) 3h (i.e., NAA); or
Bart> c) 8h (i.e., SCSI name string).
Bart> </quote>

Bart> I think this means that presence of one of these three types of
Bart> descriptors is sufficient in order to be compliant with SPC-4.

That's correct and bad wording on my part. It's not mandatory in the SPC
sense. But the subset of the copy offload spec that vendors have
generally agreed on makes NAA a requirement.

You have a good point, however, and I'll tweak the code to make sure we
support 2h and 8h as well.

-- 
Martin K. Petersen	Oracle Linux Engineering

  reply	other threads:[~2014-07-17 15:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-29  3:52 Copy offload Martin K. Petersen
2014-05-29  3:52 ` [PATCH 1/6] block: Replace bi_integrity with bi_special Martin K. Petersen
2014-06-02 20:35   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 2/6] block: Implement support for copy offload operations Martin K. Petersen
2014-06-02 20:38   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 3/6] block: Introduce copy offload library function Martin K. Petersen
2014-06-02 20:40   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 4/6] block: Copy offload ioctl Martin K. Petersen
2014-06-02 20:42   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 5/6] [SCSI] Look up and store NAA if VPD page 0x83 is present Martin K. Petersen
2014-06-02 20:43   ` Nicholas A. Bellinger
2014-06-02 20:59   ` Paolo Bonzini
2014-06-03  1:00     ` Martin K. Petersen
2014-06-03  9:13       ` Paolo Bonzini
2014-07-17 11:48   ` Bart Van Assche
2014-07-17 15:43     ` Martin K. Petersen [this message]
2014-05-29  3:52 ` [PATCH 6/6] [SCSI] sd: Implement copy offload support Martin K. Petersen
2014-05-29 14:48   ` Douglas Gilbert
2014-05-30  0:05     ` Martin K. Petersen
2014-06-02 20:46   ` Nicholas A. Bellinger

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=yq1mwc8ourv.fsf@sermon.lab.mkp.net \
    --to=martin.petersen@oracle.com \
    --cc=axboe@fb.com \
    --cc=bvanassche@acm.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=nab@daterainc.com \
    /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.