svn commit: r183809 - head/sys/nfsserver
Robert Watson
rwatson at FreeBSD.org
Sun Oct 12 20:06:59 UTC 2008
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);
}
More information about the svn-src-head
mailing list