HAMMER 59E/Many: Stabilization pass - fixes for large file issues
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 29 Jun 2008 07:50:40 +0000 (07:50 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 29 Jun 2008 07:50:40 +0000 (07:50 +0000)
commitecca949aca6a0b0cc7f6848514936276e6b09b14
tree1474e0cd67686bf22f6fa65b63818060ecabe98c
parentf5a07a7a074b65b763bd61fd65e0b29f12032fdd
HAMMER 59E/Many: Stabilization pass - fixes for large file issues

* Correct a bug related to inodes moving between flush groups (when
  truncating a large file).  Some records were not being moved and
  cause an assertion later on.

* Fix a leak of B_LOCKED buffers which could occur under heavy loads.
  Eventually enough build up to deadlock the buffer cache.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_inode.c
sys/vfs/hammer/hammer_io.c
sys/vfs/hammer/hammer_ondisk.c