cvs commit: src/sys/vfs/hammer hammer_vnops.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Sep 20 20:00:00 PDT 2008
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 at wolfpond.org>,
Damian Lubosch <dl at 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
More information about the Commits
mailing list