cvs commit: src/sys/vfs/ufs

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 8 20:25:32 PST 2004


dillon      2004/11/08 20:22:52 PST

DragonFly src repository

  Modified files:
    sys/vfs/ufs          ffs_softdep.c 
  Log:
  Correct a softupdates bug, an ir_savebp buffer was not being properly
  disposed of.  This bug is currently only known to effect filesystems
  whos block devices are not VMIO backed.  However, it's a fragile situation
  at best so its good to have it fixed anyhow.
  
  ir_savebp is stashed copy of the in-memory version of an indirect file block.
  It is stashed using (devvp,blkno) (whereas the actual indirect file block
  is stored using (vp,-specialblkno).  For VMIO to also tickle this bug would
  have required that other unrelated operations also cache (devvp,blkno), a
  case which does not (yet) exist.
  
  Revision  Changes    Path
  1.19      +13 -1     src/sys/vfs/ufs/ffs_softdep.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_softdep.c.diff?r1=1.18&r2=1.19&f=u





More information about the Commits mailing list