From: "J. Bruce Fields" Subject: nfsd locking for cluster filesystems Date: Thu, 5 Apr 2007 19:34:55 -0400 Message-ID: <18367.6428547644$1175817490@news.gmane.org> Cc: Trond Myklebust , Marc Eshel , linux-fsdevel@vger.kernel.org To: akpm@osdl.org Return-path: Received: from snoopy.citi.umich.edu ([141.211.133.115]:41237 "EHLO snoopy.citi.umich.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767454AbXDEX5q (ORCPT ); Thu, 5 Apr 2007 19:57:46 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org The lock operation defined by a filesystem is called when an application does an fcntl(), but ignored in the code path used by the lock managers (lockd, for nfsv2/v3, or nfsd itself, for nfsv4). The following patch series remedies that. (It hasn't been a problem till recently, because the filesystems that define -lock() (nfs, cifs, etc.) aren't filesystems that nfsd exports. The arrival of cluster filesystems changes that.) We'd like an ack by Trond and/or Christoph before this goes in, but it seems ready at least for testing in -mm. The first four to six patches are just locks.c cleanup. --b.