[PATCH] NVMe: Fail SCSI->NVMe translation for UNMAP when anchor is set

Dan McLeran daniel.mcleran at intel.com
Wed Jun 18 08:15:54 PDT 2014


Wrong spec version. Gotta go clean house and get rid of my old ones.

On Wed, 18 Jun 2014, Keith Busch wrote:

> On Wed, 18 Jun 2014, Dan McLeran wrote:
>> SCSI UNMAP should fail if the host sends down the command with Anchor set. 
>> The
>> current code does not check this condition. This patch checks Anchor and 
>> fails
>> Scsi->NVMe translation if Anchor is set.
>
> The reference on nvmexpress.org says the command with anchor set is
> premissible "for resource-provisioned devices".
>
>> Signed-off-by: Dan McLeran <daniel.mcleran at intel.com>
>



More information about the Linux-nvme mailing list