ad77d0b1c1
use VOP_FSYNC() to perform the NFS server's Commit operation. This patch adds a mnt_kern_flag called MNTK_USES_BCACHE which is set by file systems that use the buffer cache. If this flag is not set, the NFS server always does a VOP_FSYNC(). This should be ok for old file system modules that do not set MNTK_USES_BCACHE, since calling VOP_FSYNC() is correct, although it might not be optimal for file systems that use the buffer cache. Reviewed by: kib MFC after: 2 weeks |
||
---|---|---|
.. | ||
bmap.c | ||
bmap.h | ||
nandfs_alloc.c | ||
nandfs_bmap.c | ||
nandfs_buffer.c | ||
nandfs_cleaner.c | ||
nandfs_cpfile.c | ||
nandfs_dat.c | ||
nandfs_dir.c | ||
nandfs_fs.h | ||
nandfs_ifile.c | ||
nandfs_mount.h | ||
nandfs_segment.c | ||
nandfs_subr.c | ||
nandfs_subr.h | ||
nandfs_sufile.c | ||
nandfs_vfsops.c | ||
nandfs_vnops.c | ||
nandfs.h |