Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 1997 06:40:22 -0700 (PDT)
From:      KATO Takenori <kato@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/dev/vn vn.c src/sys/gnu/ext2fs ext2_extern.h ext2_readwrite.c ext2_vfsops.c ext2_vnops.c src/sys/isofs/cd9660 cd9660_vfsops.c cd9660_vnops.c src/sys/kern kern_conf.c vfs_syscalls.c src/sys/miscfs/specfs spec_vnops.c ...
Message-ID:  <199709271340.GAA29012@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
kato        1997/09/27 06:40:22 PDT

  Modified files:
    sys/dev/vn           vn.c 
    sys/gnu/ext2fs       ext2_extern.h ext2_readwrite.c 
                         ext2_vfsops.c ext2_vnops.c 
    sys/isofs/cd9660     cd9660_vfsops.c cd9660_vnops.c 
    sys/kern             kern_conf.c vfs_syscalls.c 
    sys/miscfs/specfs    spec_vnops.c 
    sys/miscfs/union     union_vfsops.c 
    sys/sys              conf.h mount.h 
    sys/ufs/ffs          ffs_extern.h ffs_vfsops.c ffs_vnops.c 
    sys/ufs/ufs          ufs_readwrite.c 
  Log:
  Clustered read and write are switched at mount-option level.
  
  1. Clustered I/O is switched by the MNT_NOCLUSTERR and MNT_NOCLUSTERW
     bits of the mnt_flag.  The sysctl variables, vfs.foo.doclusterread
     and vfs.foo.doclusterwrite are deleted.  Only mount option can
     control clustered I/O from userland.
  2. When foofs_mount mounts block device, foofs_mount checks D_CLUSTERR
     and D_CLUSTERW bits of the d_flags member in the block device switch
     table.  If D_NOCLUSTERR / D_NOCLUSTERW are set, MNT_NOCLUSTERR /
     MNT_NOCLUSTERW bits will be set.  In this case, MNT_NOCLUSTERR and
     MNT_NOCLUSTERW cannot be cleared from userland.
  3. Vnode driver disables both clustered read and write.
  4. Union filesystem disables clutered write.
  
  Reviewed by:	bde
  
  Revision  Changes    Path
  1.50      +3 -3      src/sys/dev/vn/vn.c
  1.15      +0 -13     src/sys/gnu/ext2fs/ext2_extern.h
  1.10      +2 -2      src/sys/gnu/ext2fs/ext2_readwrite.c
  1.17      +16 -2     src/sys/gnu/ext2fs/ext2_vfsops.c
  1.16      +0 -11     src/sys/gnu/ext2fs/ext2_vnops.c
  1.29      +13 -5     src/sys/isofs/cd9660/cd9660_vfsops.c
  1.40      +2 -18     src/sys/isofs/cd9660/cd9660_vnops.c
  1.22      +5 -3      src/sys/kern/kern_conf.c
  1.74      +4 -3      src/sys/kern/vfs_syscalls.c
  1.43      +7 -4      src/sys/miscfs/specfs/spec_vnops.c
  1.20      +6 -1      src/sys/miscfs/union/union_vfsops.c
  1.36      +11 -2     src/sys/sys/conf.h
  1.47      +7 -4      src/sys/sys/mount.h
  1.17      +3 -5      src/sys/ufs/ffs/ffs_extern.h
  1.56      +17 -4     src/sys/ufs/ffs/ffs_vfsops.c
  1.30      +1 -11     src/sys/ufs/ffs/ffs_vnops.c
  1.31      +3 -3      src/sys/ufs/ufs/ufs_readwrite.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709271340.GAA29012>