NVM Express Format

Keith Busch keith.busch at intel.com
Thu Jul 3 08:48:59 PDT 2014


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.



More information about the Linux-nvme mailing list