Re: [PATCH 10/15] IB/core: disable memory registration of fileystem-dax vmas

2017-11-02 Thread Dan Williams
On Thu, Nov 2, 2017 at 1:13 PM, Christoph Hellwig wrote: > Any chance we could add a new get_user_pages_longerm or similar > helper instead of opencoding this in the various callers? Sounds like a great idea to me, I'll take a look... ___

Re: [PATCH 10/15] IB/core: disable memory registration of fileystem-dax vmas

2017-11-02 Thread Christoph Hellwig
Any chance we could add a new get_user_pages_longerm or similar helper instead of opencoding this in the various callers? ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

[PATCH 10/15] IB/core: disable memory registration of fileystem-dax vmas

2017-10-31 Thread Dan Williams
Until there is a solution to the dma-to-dax vs truncate problem it is not safe to allow RDMA to create long standing memory registrations against filesytem-dax vmas. Device-dax vmas do not have this problem and are explicitly allowed. This is temporary until a "memory registration with