NVMe: Add support for SG_IO
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest0 of 3 patches 0 repliesNew
Patches in v3 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] NVMe: Add support for SG_IO
Quoted 9 lines · Vishal Verma
These patches allow the nvme driver to handle the
SG_IOioctl. Applications may send any supported SCSI Command through theSG_IOframework. The supported command list as well as the translation reference is available on www.nvmexpress.orgVishal Verma (3):
NVMe: Renamenvme.ctonvme-core.c
NVMe: Move dev, ns, iod structs tonvme.c
NVMe: Addnvme-scsi.c
I ended up modifying these patche before committing them.
- I split out the addition of the format command into its own patch. It's significant enough to be worth doing separately.
- The comment on nvme_free_iod() was part of the second patch instead of the final patch, for some reason.
- I moved the additions to the nvme_ns data structure to the final patch (was part of the second patch).
- Instead of storing the vendor_id from the identify result, just use the pci_dev's ->vendor element.
Hope I didn't break anything in the process :-)