From owner-svn-src-stable@FreeBSD.ORG Thu Dec 31 07:28:44 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65DF4106566C; Thu, 31 Dec 2009 07:28:44 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 396648FC16; Thu, 31 Dec 2009 07:28:44 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBV7SiH1089622; Thu, 31 Dec 2009 07:28:44 GMT (envelope-from jh@svn.freebsd.org) Received: (from jh@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBV7Si5A089620; Thu, 31 Dec 2009 07:28:44 GMT (envelope-from jh@svn.freebsd.org) Message-Id: <200912310728.nBV7Si5A089620@svn.freebsd.org> From: Jaakko Heinonen Date: Thu, 31 Dec 2009 07:28:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201329 - stable/8/sys/fs/nfsclient X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 07:28:44 -0000 Author: jh Date: Thu Dec 31 07:28:43 2009 New Revision: 201329 URL: http://svn.freebsd.org/changeset/base/201329 Log: MFC r198289: Fix comment typos. Approved by: trasz (mentor) Modified: stable/8/sys/fs/nfsclient/nfs_clstate.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/fs/nfsclient/nfs_clstate.c ============================================================================== --- stable/8/sys/fs/nfsclient/nfs_clstate.c Thu Dec 31 07:28:13 2009 (r201328) +++ stable/8/sys/fs/nfsclient/nfs_clstate.c Thu Dec 31 07:28:43 2009 (r201329) @@ -36,9 +36,9 @@ __FBSDID("$FreeBSD$"); * - The correct granularity of an OpenOwner is not nearly so * obvious. An OpenOwner does the following: * - provides a serial sequencing of Open/Close/Lock-with-new-lockowner - * - is used to check for Open/SHare contention (not applicable to + * - is used to check for Open/Share contention (not applicable to * this client, since all Opens are Deny_None) - * As such, I considered both extrema. + * As such, I considered both extreme. * 1 OpenOwner per ClientID - Simple to manage, but fully serializes * all Open, Close and Lock (with a new lockowner) Ops. * 1 OpenOwner for each Open - This one results in an OpenConfirm for @@ -50,8 +50,8 @@ __FBSDID("$FreeBSD$"); * which of these the vnodeop close applies to. This is handled by * delaying the Close Op(s) until all of the Opens have been closed. * (It is not yet obvious if this is the correct granularity.) - * - How the code handles serailization: - * - For the ClientId, is uses an exclusive lock while getting its + * - How the code handles serialization: + * - For the ClientId, it uses an exclusive lock while getting its * SetClientId and during recovery. Otherwise, it uses a shared * lock via a reference count. * - For the rest of the data structures, it uses an SMP mutex