cvs commit: src/sys/ufs/ffs ffs_vnops.c

Konstantin Belousov kib at FreeBSD.org
Fri Mar 21 05:33:01 PDT 2008


kib         2008-03-21 12:33:00 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_vnops.c 
  Log:
  Reduce the acquisition of the vnode interlock in the ffs_read() and
  ffs_extread() when setting the IN_ACCESS flag by checking whether the
  IN_ACCESS is already set. The possible race there is admissible.
  
  Tested by:      pho
  Submitted by:   jeff
  
  Revision  Changes    Path
  1.180     +4 -2      src/sys/ufs/ffs/ffs_vnops.c


More information about the cvs-src mailing list