DragonFly commits List (threaded) for 2008-09
DragonFly BSD
DragonFly commits List (threaded) for 2008-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/vfs/hammer hammer_vnops.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Sep 2008 19:58:31 -0700 (PDT)

dillon      2008/09/20 19:58:31 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer_vnops.c 
  Log:
  HAMMER: Fix a couple of minor non-corrupting bugs in HAMMER.
  
  * Fix a few cases where the kmalloc space for hammer inodes can become
    exhausted.  Add calls to hammer_inode_waitreclaims() in several places
    where modified inodes can build up without the related vnodes
    necessarily being VOP_OPEN()'d or VOP_CLOSE()'d.
  
  * Fix a deadlock which can occur in fsync().  fsync() was holding the vnode
    lock while waiting for the inode to sync.  The inode sync can be held up
    indefinitely by dependancies on other vnodes, so holding the lock can
    result in a deadlock.
  
  * Fix a bug where ap->a_ctllen test results were being ignored.  This
    path is only used by mountd.
  
  Reported-by: 	Francois Tigeot <ftigeot@wolfpond.org>,
  		Damian Lubosch <dl@pless.xiqit.de>
  
  Revision  Changes    Path
  1.97      +10 -2     src/sys/vfs/hammer/hammer_vnops.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vnops.c.diff?r1=1.96&r2=1.97&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]