Re: [Cluster-devel] [PATCH 00/10] locks/nfsd: internal lease API overhaul

2014-08-26 Thread Christoph Hellwig
On Sun, Aug 24, 2014 at 09:43:01PM -0400, Jeff Layton wrote: - add a return value to lm_break so that the lock manager can tell the core code you can delete this lease right now. That gets rid of the games with the timeout which require all kinds of race avoidance code in the

Re: [Cluster-devel] [PATCH 00/10] locks/nfsd: internal lease API overhaul

2014-08-24 Thread Christoph Hellwig
One more wishlist item in addition to the one mentioned in the patches: - add a return value to lm_break so that the lock manager can tell the core code you can delete this lease right now. That gets rid of the games with the timeout which require all kinds of race avoidance code in

Re: [Cluster-devel] [PATCH 00/10] locks/nfsd: internal lease API overhaul

2014-08-24 Thread Jeff Layton
On Sun, 24 Aug 2014 09:10:46 -0700 Christoph Hellwig h...@infradead.org wrote: One more wishlist item in addition to the one mentioned in the patches: - add a return value to lm_break so that the lock manager can tell the core code you can delete this lease right now. That gets rid of