HAMMER 47/Many: Stabilization pass
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 22 May 2008 04:14:01 +0000 (04:14 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 22 May 2008 04:14:01 +0000 (04:14 +0000)
commit29ce0677a457c779d1e0877635d551ac529a5464
tree7703e668d3f560c5940e0ef85a65b33ed38c753b
parentd0377f9b70e7a03a2b8ae7c3d9a5e70e9cc03ff1
HAMMER 47/Many: Stabilization pass

* Fix a buffer cache deadlock.  Buffers representing pending I/O must be
  thrown away (by calling biodone()'d) when cleaning a deleted inode out on
  the backend.  Otherwise the truncation can deadlock against them.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_inode.c
sys/vfs/hammer/hammer_vnops.c