Date: Wed, 15 Dec 2004 22:20:22 +0000 (UTC) From: Paul Saab <ps@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs.h nfs_bio.c nfs_nfsiod.c nfs_vfsops.c nfs_vnops.c nfsnode.h Message-ID: <200412152220.iBFMKMKa081446@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412152220.iBFMKMKa081446>