[PATCH] Remove redundant writes to uncached sqe memory

Matthew Wilcox willy at linux.intel.com
Sat May 10 19:54:55 PDT 2014


On Fri, May 09, 2014 at 11:14:46PM +0200, Matias Bjørling wrote:
> I think a description above the declaration of struct nvme_rw_command
> would be helpful. E.g. "If you modify this structure, please change
> nvme_submit_iod accordingly to take care of initialization."

I don't think that's necessary.  There's no hidden gaps in the definition
of nvme_rw_command, so the explicit initialisation of all the fields will
write all of the bytes in the command.



More information about the Linux-nvme mailing list