Re: [PATCH v3 00/13] locks: saner method for managing file locks

2015-02-03 Thread Mike Marshall
Yes, 131 goes all the way through now... thanks for fixing my code in your thread ... int pvfs2_lock(struct file *filp, int cmd, struct file_lock *fl) { int rc = 0; if (cmd == F_GETLK) posix_test_lock(filp, fl); else rc = posix_lock_file(fil

Re: [PATCH v3 00/13] locks: saner method for managing file locks

2015-02-02 Thread Jeff Layton
On Mon, 2 Feb 2015 15:29:33 -0500 Mike Marshall wrote: > I applied Jeff's patch to my orangefs-3.19-rc5 tree. Orangefs > doesn't yet support the lock callout for file_operations, but > we have been experimenting with some ideas that would allow > Orangefs to honor locks in our distributed environ

Re: [PATCH v3 00/13] locks: saner method for managing file locks

2015-02-02 Thread Mike Marshall
I applied Jeff's patch to my orangefs-3.19-rc5 tree. Orangefs doesn't yet support the lock callout for file_operations, but we have been experimenting with some ideas that would allow Orangefs to honor locks in our distributed environment: basically posix locks for each kernel client plus meta data

[PATCH v3 00/13] locks: saner method for managing file locks

2015-01-22 Thread Jeff Layton
v3: - break out a ceph locking cleanup patch into a separate one earlier in the series - switch back to using the i_lock to protect assignment of i_flctx. Using cmpxchg() was subject to races that I couldn't quite get a grip on. Eventually I may switch it back, but it probably doesn't provi