Return-Path: Date: Thu, 4 Mar 2010 09:23:26 +0000 (GMT) From: Matt Bernstein <+systems.extlists.nfsv4@dcs.qmul.ac.uk> To: "J. Bruce Fields" Subject: Re: Turning off delegations in NFSv4 server? In-Reply-To: <20080110200034.GI2132@fieldses.org> Message-ID: References: <4786788D.6040707@garzik.org> <20080110200034.GI2132@fieldses.org> Cc: NFS list , nfsv4@linux-nfs.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: nfsv4-bounces@linux-nfs.org Errors-To: nfsv4-bounces@linux-nfs.org MIME-Version: 1.0 List-ID: On Jan 10 2008 J. Bruce Fields wrote: > On Thu, Jan 10, 2008 at 02:57:01PM -0500, Jeff Garzik wrote: >> Besides hacking the code, is there an easy way to turn off NFSv4 >> delegations in the kernel v4 server? >> >> I'd like to observe behavior of the Linux v4 client when delegations are >> not available. > > The easiest thing is probably just to turn off leases: > echo 0 >/proc/sys/fs/leases-enable I found this from two years ago, and am wondering - is this still the easiest thing to do? - is this on server, client or both? - will it break anything else? We have a CentOS 5.4 NFS3/NFS4/samba server with about 300 clients on its subnet, and another 100-200 on another subnet, which under high load has started kernel-panicking (sometimes in nfsd4_cb_recall). I want to disable delegations to see if that cures our symptoms--but I worry that turning leases off might cause other problems. For now I'll probably do it anyway, given that status quo isn't stable :( Matt _______________________________________________ NFSv4 mailing list NFSv4@linux-nfs.org http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4