summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-10-12 20:06:59 +0000
committerrwatson <rwatson@FreeBSD.org>2008-10-12 20:06:59 +0000
commit25ed07a2fe3a7f1b8a78eba1af6623180d36a0f6 (patch)
tree6d71c06535eadceb36697f6fde3a461829e6c0b0 /sys
parentef6dfc27c47cc39216c7fd950dfc0b2caeba8e19 (diff)
downloadFreeBSD-src-25ed07a2fe3a7f1b8a78eba1af6623180d36a0f6.zip
FreeBSD-src-25ed07a2fe3a7f1b8a78eba1af6623180d36a0f6.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/nfsserver/nfs_serv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c
index 901a4bd..a117cb8 100644
--- a/sys/nfsserver/nfs_serv.c
+++ b/sys/nfsserver/nfs_serv.c
@@ -1174,7 +1174,7 @@ nfsrv_write(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
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);
}
OpenPOWER on IntegriCloud