From: "J. Bruce Fields" Subject: asynchronous locks for cluster exports Date: Sat, 3 Feb 2007 00:30:55 -0500 Message-ID: <35541.8655825362$1170480672@news.gmane.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: nfs@lists.sourceforge.net, Marc Eshel To: linux-fsdevel@vger.kernel.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net List-Id: linux-fsdevel.vger.kernel.org This is another attempt at a posix locking interface that allows us to provide NFS clients with cluster-coherent locking without blocking lockd while the filesystem goes off and talks to other nodes. This time we're using the existing file ->lock operation instead of defining a new export operation for the purpose, and factoring out the code that switches between calling ->lock or the default local operation, so that lock managers and local callers go through the same code. I find the existing interfaces a little odd, and while I think I managed to combine them correctly, I'd certainly appreciate any review. The gfs2 implementation in the last patch is (unfortunately) still just a rough draft that needs some more thought and some testing. --b. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs