From owner-freebsd-arch@FreeBSD.ORG Sun Apr 5 17:31:59 2009 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 BB6CB1065672 for ; Sun, 5 Apr 2009 17:31:59 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 99AB68FC17 for ; Sun, 5 Apr 2009 17:31:59 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 3D9E546B0D; Sun, 5 Apr 2009 13:31:59 -0400 (EDT) Date: Sun, 5 Apr 2009 18:31:59 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Jeff Roberson In-Reply-To: <20080412021209.W43186@desktop> Message-ID: References: <20080412021209.W43186@desktop> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Sun, 05 Apr 2009 17:32:01 -0000 On Sat, 12 Apr 2008, Jeff Roberson wrote: > 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. (A year, +/- one week, passes...) Since we now have an NFSv4 client/server and it doesn't use VOP_LEASE, and NQNFS is long-gone, I propose we revisit removing VOP_LEASE, which you proposed last year but presumably died as a result of a discussion of whether it might be useful again someday. While not a huge overhead, in practice it means a passage through the VOP vector for every I/O operation, and it certainly adds lines of code. Assuming no objections in the few days, I'll toast VOP_LEASE implementation and calls from the rest of the stack from 8.x so that it's gone before we ship 8.0. Robert N M Watson Computer Laboratory University of Cambridge