[PATCH v2 3/4] nvme: enable SG gaps support
Sagi Grimberg
sagi at grimberg.me
Sun Apr 23 00:20:59 PDT 2017
Christoph,
> All our block I/O must be cache line aligned, so dword aligned SGLs
> should not be an issue. And for PRPs or MRs we'll always use the
> host page size.
Where is that constraint coming from? Is that new? Back when I wrote
GAP support in rdma I tested a single byte alignment via vectored
direct IO and it seemed to be going through...
I also just tested Bart's unaligned test [1] on scsi_debug and it seems
to go through as well (alignment and length are 4)...
[1]:
https://github.com/bvanassche/srp-test/blob/master/discontiguous-io/discontiguous-io.cpp
More information about the Linux-nvme
mailing list