[PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA
Busch, Keith
keith.busch at intel.com
Thu Oct 29 10:20:43 PDT 2015
On Thu, Oct 29, 2015 at 08:57:01AM -0700, Nishanth Aravamudan wrote:
> On 29.10.2015 [04:55:36 -0700], Christoph Hellwig wrote:
> > We had a quick cht about this issue and I think we simply should
> > default to a NVMe controler page size of 4k everywhere as that's the
> > safe default. This is also what we do for RDMA Memory reigstrations and
> > it works fine there for SRP and iSER.
>
> So, would that imply changing just the NVMe driver code rather than
> adding the dma_page_shift API at all? What about
> architectures that can support the larger page sizes? There is an
> implied performance impact, at least, of shifting the IO size down.
It is the safe option, but you're right that it might have a measurable
performance impact (can you run an experiment?). Maybe we should just
change the driver to always use MPSMIN for the moment in the interest
of time, and you can flush out the new API before the next merge window.
More information about the Linux-nvme
mailing list