On Wed, Feb 06, 2019 at 10:23:10PM -0700, Jason Gunthorpe wrote: > On Thu, Feb 07, 2019 at 02:52:58PM +1100, Dave Chinner wrote: > > > Requiring ODP capable hardware and applications that control RDMA > > access to use file leases and be able to cancel/recall client side > > delegations (like NFS is already able to do!) seems like a pretty > > So, what happens on NFS if the revoke takes too long? This is the fundamental issue with RDMA revoke. With RDMA and some hardware you are going to end up killing processes. If the decision is that only processes on non-ODP hardware get killed and the user basically "should not have done that" then I'm ok with that. However, then we really need to prevented them from registering the memory in the first place. Which means we leave in the "longterm" GUP registration and fail those registrations can't be supported. Ira