[PATCHv2] NVMe: Spliting large i/o in the ioctl path [for-linus branch]
Keith Busch
keith.busch at intel.com
Wed Mar 18 11:41:15 PDT 2015
On Tue, 24 Feb 2015, Sathayavathi M wrote:
> + for (count = 0; count < num_split_cmds; count++) {
[snip]
> + c.rw.reftag = cpu_to_le32(io.reftag);
> + c.rw.apptag = cpu_to_le16(io.apptag);
> + c.rw.appmask = cpu_to_le16(io.appmask);
If the reference tag is being used, this needs to be incremented
accoringly in this loop.
Starting to think the ioctl shouldn't even bother correcting users who
request malformed commands.
More information about the Linux-nvme
mailing list