NFS performance fixes.
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 14 Jul 2008 17:45:49 +0000 (17:45 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 14 Jul 2008 17:45:49 +0000 (17:45 +0000)
commita482a28a416459195cf2d1169045ac7170a48d20
treec5ca4ae59f22c79c6f147018ae8f0f262112d77c
parent3b7b6af78dde67bf53926df11c00b43c6d47497c
NFS performance fixes.

* sync on an NFS mount was a big NOP due to a silly bug.

* utimes (setattr w/ mtime-changed) was unconditionally flushing the file,
  causing programs such as cpdup, rsync, rdist, and tar xp to sync on each
  file.

  change it so it does not unconditionally flush the file.
sys/vfs/nfs/nfs.h
sys/vfs/nfs/nfs_bio.c
sys/vfs/nfs/nfs_serv.c
sys/vfs/nfs/nfs_vfsops.c
sys/vfs/nfs/nfs_vnops.c