cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c

Xin LI delphij at FreeBSD.org
Thu Aug 9 22:24:49 PDT 2007


delphij     2007-08-10 05:24:49 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/tmpfs         tmpfs.h tmpfs_subr.c tmpfs_vfsops.c 
                         tmpfs_vnops.c 
  Log:
  MFp4:
  
   - Respect cnflag and don't lock vnode always as LK_EXCLUSIVE [1]
   - Properly lock around tn_vnode to avoid NULL deference
   - Be more careful handling vnodes (*)
  
  (*) This is a WIP
  [1] by pjd via howardsu
  
  Thanks kib@ for his valuable VFS related comments.
  
  Tested with:    fsx, fstest, tmpfs regression test set
  Found by:       pho's stress2 suite
  Approved by:    re (tmpfs blanket)
  
  Revision  Changes    Path
  1.10      +2 -2      src/sys/fs/tmpfs/tmpfs.h
  1.11      +28 -19    src/sys/fs/tmpfs/tmpfs_subr.c
  1.9       +5 -2      src/sys/fs/tmpfs/tmpfs_vfsops.c
  1.9       +34 -13    src/sys/fs/tmpfs/tmpfs_vnops.c


More information about the cvs-src mailing list