From owner-freebsd-arch@FreeBSD.ORG Sat Apr 12 17:03:02 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF63F106564A for ; Sat, 12 Apr 2008 17:03:02 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (chez.mckusick.com [64.81.247.49]) by mx1.freebsd.org (Postfix) with ESMTP id 7D70D8FC0C for ; Sat, 12 Apr 2008 17:03:02 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (localhost.mckusick.com [127.0.0.1]) by chez.mckusick.com (8.13.8/8.13.8) with ESMTP id m3CH3StJ081660; Sat, 12 Apr 2008 10:03:28 -0700 (PDT) (envelope-from mckusick@chez.mckusick.com) Message-Id: <200804121703.m3CH3StJ081660@chez.mckusick.com> To: Jeff Roberson Date: Sat, 12 Apr 2008 10:03:28 -0700 From: Kirk McKusick Cc: arch@freebsd.org Subject: Re: VOP_LEASE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2008 17:03:02 -0000 > Date: Sat, 12 Apr 2008 02:13:15 -1000 (HST) > From: Jeff Roberson > To: arch@freebsd.org > Subject: VOP_LEASE > > As far as I can tell this has never been used. Unless someone can show me > otherwise I'm going to go ahead and remove it. > > Thanks, > Jeff VOP_LEASE is used by NQNFS and NFSv4. It notifies them when a file is modified locally so that they know to update any outstanding leases (e.g., evict any write lease for the file and do callbacks for any read leases for the file). Deleting VOP_LEASE would break NFS big time. Kirk McKusick