From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Bruce Fields" Subject: lease and lock patches Date: Fri, 13 Jul 2007 19:34:57 -0400 Message-ID: <20070713233457.GA6552@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, Andrew Morton , switeho@redhat.com, Trond.Myklebust@netapp.com, Marc Eshel , richterd@citi.umich.edu, Christoph Hellwig To: Linus Torvalds Return-path: Received: from mail.fieldses.org ([66.93.2.214]:54187 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754123AbXGMXfD (ORCPT ); Fri, 13 Jul 2007 19:35:03 -0400 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Please pull from the 'for-linus' branch at git://linux-nfs.org/~bfields/linux.git for-linus for a series of patches which add a setlease() file method. The longer-term goal is to allow cluster and network filesystems to give out consistent leases when possible, in particular to allow nfsd to give out delegations on cluster filesystems. For now, though, we're using this just to disallow leases selectively on certain filesystems (nfs and gfs2 for now) where they don't make sense. Also includes some minor locks.c cleanup. J. Bruce Fields (9): locks: convert an -EINVAL return to a BUG locks: clean up lease_alloc() locks: share more common lease code locks: rename lease functions to reflect locks.c conventions locks: provide a file lease method enabling cluster-coherent leases locks: export setlease to filesystems nfs: disable leases over NFS locks: make posix_test_lock() interface more consistent locks: fix vfs_test_lock() comment Marc Eshel (1): gfs2: stop giving out non-cluster-coherent leases david m. richter (1): leases: minor break_lease() comment clarification fs/gfs2/ops_file.c | 24 +++++++++++ fs/locks.c | 112 ++++++++++++++++++++++++++------------------------ fs/nfs/file.c | 16 +++++++- fs/nfsd/nfs4state.c | 10 ++-- include/linux/fs.h | 4 +- 5 files changed, 105 insertions(+), 61 deletions(-)