From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Adamson Subject: [PATCH 10 of 10] RESEND lease interfaces for version 4 NFSD Date: Tue, 21 Sep 2004 18:36:26 -0400 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <1095804047.21441d5b.10@citi.umich.edu> Cc: nfsv4@linux-nfs.org, willy@debian.org Return-path: Received: from thnk.citi.umich.edu ([141.211.133.95]:22661 "EHLO thnk.citi.umich.edu") by vger.kernel.org with ESMTP id S267254AbUIUWg5 (ORCPT ); Tue, 21 Sep 2004 18:36:57 -0400 To: linux-fsdevel@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org VFS: add the new lock manager callbacks to the documentation Signed-off-by: Andy Adamson --- linux-2.6.9-rc2-andros/Documentation/filesystems/Locking | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletion(-) diff -puN Documentation/filesystems/Locking~lease-documentation Documentation/filesystems/Locking --- linux-2.6.9-rc2/Documentation/filesystems/Locking~lease-documentation 2004-09-21 18:00:34.838670896 -0400 +++ linux-2.6.9-rc2-andros/Documentation/filesystems/Locking 2004-09-21 18:00:34.841670440 -0400 @@ -295,13 +295,19 @@ fl_release_private: yes yes prototypes: int (*fl_compare_owner)(struct file_lock *, struct file_lock *); void (*fl_notify)(struct file_lock *); /* unblock callback */ + void (*fl_copy_lock)(struct file_lock *, struct file_lock *); + void (*fl_release_private)(struct file_lock *); + void (*fl_break)(struct file_lock *); /* break_lease callback */ locking rules: BKL may block fl_compare_owner: yes no fl_notify: yes no +fl_copy_lock: yes no +fl_release_private: yes yes +fl_break: yes no - Currently only NLM provides instances of this class. None of the + Currently only NFSD and NLM provide instances of this class. None of the them block. If you have out-of-tree instances - please, show up. Locking in that area will change. --------------------------- buffer_head ----------------------------------- _