extending VFS leases for NFSv4

2007-04-12 Thread david m. richter
hello, we're looking for some input regarding expanding fcntl(2) file leases somewhat, in order to implement NFSv4 file delegations. somewhat similar to Samba and OPLOCKs, NFSv4 file delegations are implemented with leases. however, the current lease subsystem only breaks leases

Re: On setting a lease across a cluster

2008-01-04 Thread david m. richter
On Fri, 4 Jan 2008, Matthew Wilcox wrote: Hi Bruce, The current implementation of vfs_setlease/generic_setlease/etc is a bit quirky. I've been thinking it over for the past couple of days, and I think we need to refactor it to work sensibly. As you may have noticed, I've been mulling

Re: On setting a lease across a cluster

2008-01-05 Thread david m. richter
actually doing most of what you've just suggested here, which i take to be a good sign. As long as it's great minds thinking alike and not fools seldom differing ;-) ooh, good phrase, one with which i wasn't familiar :) most of my refactoring came out of trying to

Re: NFS client hang on attempt to do async blocking posix lock enqueue

2008-02-08 Thread david m. richter
On Fri, 8 Feb 2008, J. Bruce Fields wrote: On Fri, Feb 08, 2008 at 07:15:02AM -0500, Jeff Layton wrote: On Thu, 7 Feb 2008 18:26:18 -0500 J. Bruce Fields [EMAIL PROTECTED] wrote: On Sun, Jan 20, 2008 at 09:58:59AM -0500, Oleg Drokin wrote: Hello! On Jan 18, 2008, at 6:07