From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William A.(Andy) Adamson" Subject: PATCH [9/10] lease interfaces for version 4 NFSD Date: Mon, 20 Sep 2004 16:23:10 -0400 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040920202310.828981BBA3@citi.umich.edu> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_-2044993440" Cc: andros@citi.umich.edu Return-path: Received: from citi.umich.edu ([141.211.133.111]:50553 "EHLO citi.umich.edu") by vger.kernel.org with ESMTP id S267324AbUITUXM (ORCPT ); Mon, 20 Sep 2004 16:23:12 -0400 To: linux-fsdevel@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org This is a multipart MIME message. --==_Exmh_-2044993440 Content-Type: text/plain; charset=us-ascii VFS: add the new lock manager callbacks to the documentation Signed-off-by: Andy Adamson --==_Exmh_-2044993440 Content-Type: text/plain ; name="linux-2.6.9-rc2-10-lease-doc.dif"; charset=us-ascii Content-Description: linux-2.6.9-rc2-10-lease-doc.dif Content-Disposition: attachment; filename="linux-2.6.9-rc2-10-lease-doc.dif" diff --recursive -puN old/Documentation/filesystems/Locking new/Documentation/filesystems/Locking --- old/Documentation/filesystems/Locking 2004-09-13 01:33:23.000000000 -0400 +++ new/Documentation/filesystems/Locking 2004-09-20 14:48:49.093136000 -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 ----------------------------------- --==_Exmh_-2044993440--