[PATCH] NVMe: write_long SCSI to NVMe translation implementation
Sunad Bhandary
sunad.s at samsung.com
Mon Mar 2 20:04:24 PST 2015
Hi Keith,
Sorry for the late reply as I was on leave.
I will make the necessary changes and send out the new patch .
Thanks and regards,
Sunad
-----Original Message-----
From: Linux-nvme [mailto:linux-nvme-bounces at lists.infradead.org] On Behalf
Of Keith Busch
Sent: Wednesday, February 25, 2015 2:54 AM
To: Sunad Bhandary S
Cc: linux-nvme at lists.infradead.org
Subject: Re: [PATCH] NVMe: write_long SCSI to NVMe translation
implementation
On Mon, 23 Feb 2015, Sunad Bhandary S wrote:
> From: Sunad Bhandary S <sunad.s at samsung.com>
> +struct nvme_write_uncor_cmd {
> + __u8 opcode;
> + __u8 flags;
> + __u16 command_id;
> + __le32 nsid;
> + __u32 rsvd2[8];
> + __le64 slba;
> + __le32 nlb;
> + __u32 rsvd13[3];
> +};
NLB should be a __le16 followed by a reserved __u16. It turns out the
translation requires it always be set to 0, so it doesn't have much affect
in this translation, but just saying.
Otherwise this looks pretty reasonable.
_______________________________________________
Linux-nvme mailing list
Linux-nvme at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
More information about the Linux-nvme
mailing list