Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 14:11:00 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r184126 - in stable/7/sys: . nfsserver
Message-ID:  <200810211411.m9LEB08O000998@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Tue Oct 21 14:11:00 2008
New Revision: 184126
URL: http://svn.freebsd.org/changeset/base/184126

Log:
  Merge r183809 from head to stable/7:
  
    Turn XXX's for unlocked writes of NFS server statistics to simple notes,
    as we consider it a feature to exchange performance for consistency.
  
  Approved by:	re (kib)

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/nfsserver/nfs_serv.c

Modified: stable/7/sys/nfsserver/nfs_serv.c
==============================================================================
--- stable/7/sys/nfsserver/nfs_serv.c	Tue Oct 21 12:50:45 2008	(r184125)
+++ stable/7/sys/nfsserver/nfs_serv.c	Tue Oct 21 14:11:00 2008	(r184126)
@@ -1177,7 +1177,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);
 	}
@@ -1492,7 +1492,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?200810211411.m9LEB08O000998>