From owner-svn-src-head@FreeBSD.ORG Wed May 20 21:35:29 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0A65106564A; Wed, 20 May 2009 21:35:29 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id DD6DC8FC16; Wed, 20 May 2009 21:35:28 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAJ8UFEqDaFvJ/2dsb2JhbADPFIQIBQ X-IronPort-AV: E=Sophos;i="4.41,223,1241409600"; d="scan'208";a="33987678" Received: from ganges.cs.uoguelph.ca ([131.104.91.201]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 20 May 2009 17:35:28 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by ganges.cs.uoguelph.ca (Postfix) with ESMTP id 2E073FB801A; Wed, 20 May 2009 17:35:28 -0400 (EDT) X-Virus-Scanned: amavisd-new at ganges.cs.uoguelph.ca Received: from ganges.cs.uoguelph.ca ([127.0.0.1]) by localhost (ganges.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KLmkhDI5oxEC; Wed, 20 May 2009 17:35:24 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by ganges.cs.uoguelph.ca (Postfix) with ESMTP id AA958FB8012; Wed, 20 May 2009 17:35:24 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n4KLa6621623; Wed, 20 May 2009 17:36:06 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Wed, 20 May 2009 17:36:06 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Juli Mallett In-Reply-To: Message-ID: References: <200905201858.n4KIw7Fc040619@svn.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@FreeBSD.org, Rick Macklem , svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r192463 - head/sys/fs/nfsserver X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 21:35:30 -0000 On Wed, 20 May 2009, Juli Mallett wrote: > When client ids have been run out of, does that put something into a > dangerous state (insecure or crash-prone)? Isn't it better to let the > administrator make the decision of when to reboot the machine? > Well, first off, this will "never" happen in practice. the clientid generator is a 32bit unsigned, which means it will wrap around in 13.6 years if there is an average rate of 10 new clientids/sec. Since a new clientid only typically happens once per mount (some clients might even do less), it seems highly unlikely that an "average rate of 10/sec" could happen even on the busiest server with clients doing short term mounts. (There was talk of a client inside a web browser, but I don't know that it has ever been written.) When the 32bit # wraps around, rebooting would be the only solution, since re-issuing the same clientid is verboten by the RFC. If it was something I will see happen in my lifetime, I would be more concerned about it. The only reason I put it in is so no one can argue I can violate the RFC. Have fun, rick