cvs commit: src/sys/nfsclient nfs.h nfs_bio.c nfs_nfsiod.c nfs_vfsops.c nfs_vnops.c nfsnode.h

Paul Saab ps at FreeBSD.org
Wed Dec 15 14:20:23 PST 2004


ps          2004-12-15 22:20:22 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs.h nfs_bio.c nfs_nfsiod.c nfs_vfsops.c 
                         nfs_vnops.c nfsnode.h 
  Log:
  First cut of NFS direct IO support.
  - NFS direct IO completely bypasses the buffer and page caches.
    If a file is open for direct IO all caching is disabled.
  - Direct IO for Directories will be addressed later.
  - 2 new NFS directio related sysctls are added. One is a knob to
    disable NFS direct IO completely (direct IO is enabled by default).
    The other is to disallow mmaped IO on a file that has at least one
    O_DIRECT open (see the comment in nfs_vnops.c for more details).
    The default is to allow mmaps on a file that has O_DIRECT opens.
  
  Submitted by:   Mohan Srinivasan mohans at yahoo-inc dot com
  Obtained from:  Yahoo!
  
  Revision  Changes    Path
  1.88      +2 -0      src/sys/nfsclient/nfs.h
  1.145     +174 -0    src/sys/nfsclient/nfs_bio.c
  1.84      +10 -4     src/sys/nfsclient/nfs_nfsiod.c
  1.168     +1 -0      src/sys/nfsclient/nfs_vfsops.c
  1.242     +39 -0     src/sys/nfsclient/nfs_vnops.c
  1.52      +2 -0      src/sys/nfsclient/nfsnode.h


More information about the cvs-src mailing list