cvs commit: src/sys/nfsclient nfs_bio.c nfs_vnops.c

John Baldwin jhb at FreeBSD.org
Wed Apr 25 20:34:56 UTC 2007


jhb         2007-04-25 20:34:56 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs_bio.c nfs_vnops.c 
  Log:
  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
  
  Revision  Changes    Path
  1.160     +7 -6      src/sys/nfsclient/nfs_bio.c
  1.275     +4 -0      src/sys/nfsclient/nfs_vnops.c


More information about the cvs-all mailing list