]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r297837
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 May 2016 23:44:24 +0000 (23:44 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 May 2016 23:44:24 +0000 (23:44 +0000)
commitd048ac315cdea613763dad228473d8659fa37090
tree3592e4e36007bf736cb267ad71b631cca20c3fae
parent2141868fec54cba01aafc27a7f512ca5c7428437
MFC: r297837
Bruce Evans reported that there was a performance regression between
the old and new NFS clients. He did a good job of isolating the problem
which was caused by the new NFS client not setting the post write mtime
correctly. The new NFS client code was cloned from the old client, but
was incorrect, because the mtime in the nfs vnode's cache wasn't yet
updated. This patch fixes this problem. The patch also adds missing mutex
locking.

git-svn-id: svn://svn.freebsd.org/base/stable/10@299204 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfsport.h
sys/fs/nfsclient/nfs_clrpcops.c