HAMMER 47/Many: Stabilization pass
commit2a7a7a38847be25bcf3af181c36e8692743084c5
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 22 May 2008 04:14:01 +0000 (22 04:14 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 22 May 2008 04:14:01 +0000 (22 04:14 +0000)
tree8f8ff8a64bd5fd109c17d10c92116619a77ab756
parentcffa4d4327d1c4528a28152f36e8137315f47d71
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