]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Various fixes to the NFS Directio support.
authorjhb <jhb@FreeBSD.org>
Wed, 25 Apr 2007 20:34:55 +0000 (20:34 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 25 Apr 2007 20:34:55 +0000 (20:34 +0000)
commit961de35e83c5b4522bdaaa8fe3be8b5120d0fc83
tree52b193a90456013b42312b128c3fab659710b2ec
parentda41f93f4d93e9881420ee5d5f9db232c738c718
Various fixes to the NFS Directio support.
- Fix for a bug where a close would not wait for all (directio)
  dirty buffers to drain. The nfsnode was not marked NMODIFIED
  when there were directio dirtied buffers pending, causing this.
- No reason to vhold/vrele the vp when enqueueing DirectIO requests
  for the nfsiods. The vnode can't really go way since the close
  has to wait for these requests to drain.

MFC after: 1 week
Submitted by: mohans
sys/nfsclient/nfs_bio.c
sys/nfsclient/nfs_vnops.c