HAMMER 61F/Many: Stabilization
commitee14891602b6c394977ec83600da011716f8d998
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 12 Jul 2008 23:47:13 +0000 (12 23:47 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 12 Jul 2008 23:47:13 +0000 (12 23:47 +0000)
treedc3481aa346511f1b91aeef1154b651c9b64069e
parent9dc76cb12d9b065738b6b95f4495ac81a39170c6
HAMMER 61F/Many: Stabilization

* Fix a bug triggered by rm -rf where HAMMER was failling to wait for
  reclaimed inodes to drain, allowing a build-up that would result in
  a kmalloc() pool-full panic.

  Add a required call to hammer_inode_waitreclaims() in the dounlink
  code.  Because this code acquires and releases inodes without having
  to mess around with related vnodes, it bypassed the reclaim checks in
  the vnode path.

Reported-by: Michael Neumann <mneumann@ntecs.de>
sys/vfs/hammer/hammer_vnops.c