Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2008 20:06:59 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r183809 - head/sys/nfsserver
Message-ID:  <200810122006.m9CK6x3n054298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Sun Oct 12 20:06:59 2008
New Revision: 183809
URL: http://svn.freebsd.org/changeset/base/183809

Log:
  Turn XXX's for unlocked writes of NFS server statistics to simple notes,
  as we consider it a feature to exchange performance for consistency.
  
  MFC after:	3 days

Modified:
  head/sys/nfsserver/nfs_serv.c

Modified: head/sys/nfsserver/nfs_serv.c
==============================================================================
--- head/sys/nfsserver/nfs_serv.c	Sun Oct 12 20:03:17 2008	(r183808)
+++ head/sys/nfsserver/nfs_serv.c	Sun Oct 12 20:06:59 2008	(r183809)
@@ -1174,7 +1174,7 @@ nfsrv_write(struct nfsrv_descript *nfsd,
 	    uiop->uio_td = NULL;
 	    uiop->uio_offset = off;
 	    error = VOP_WRITE(vp, uiop, ioflags, cred);
-	    /* XXXRW: unlocked write. */
+	    /* Unlocked write. */
 	    nfsrvstats.srvvop_writes++;
 	    FREE((caddr_t)iv, M_TEMP);
 	}
@@ -1488,7 +1488,7 @@ loop1:
 		    }
 		    if (!error) {
 			error = VOP_WRITE(vp, uiop, ioflags, cred);
-			/* XXXRW: unlocked write. */
+			/* Unlocked write. */
 			nfsrvstats.srvvop_writes++;
 			vn_finished_write(mntp);
 		    }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810122006.m9CK6x3n054298>