Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: keith.busch@intel.com (Keith Busch)
Subject: NVM Express Format
Date: Thu, 3 Jul 2014 09:48:59 -0600 (MDT)	[thread overview]
Message-ID: <alpine.LRH.2.03.1407030942210.4703@AMR> (raw)
In-Reply-To: <04ac01cf96bf$2cf2e6f0$86d8b4d0$@samsung.com>

On Thu, 3 Jul 2014, Indraneel Mukherjee wrote:
> sg_format does not appear to work with the NVMe driver. Reason being that
> before doing the actual format, sg_format issues a MODE_SENSE with Page Code
> 0x1 to get info like current Num Of Blocks, Block Size and Write Protect
> setting for the SCSI disk in question.  The driver does not have
> implementation for Page Code 1 as the current SCSI-NVMe translation spec(Rev
> 1.2) does NOT support Page Code 0x1 (Read-Write Error Recovery mode page).
> The driver cannot be faulted for this.

Thanks for the info. I'll send a proposal to the committee and see if
they'll add translation support for this page in the next revision. I
don't think we need to wait for an official release before adding support
in the driver if it sounds like the proposal is acceptable.

      reply	other threads:[~2014-07-03 15:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25 14:58 NVM Express Format Ian Ziemba
2014-06-25 15:34 ` Dan McLeran
2014-06-25 15:47 ` Dan McLeran
2014-06-25 15:47 ` Keith Busch
2014-07-03 13:03   ` Indraneel Mukherjee
2014-07-03 15:48     ` Keith Busch [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=alpine.LRH.2.03.1407030942210.4703@AMR \
    --to=keith.busch@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox