HAMMER 18B/many: Stabilization pass
commitd8971d2b7bd78be583378b5013c5b54429f622fe
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 11 Jan 2008 05:45:19 +0000 (11 05:45 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 11 Jan 2008 05:45:19 +0000 (11 05:45 +0000)
tree6d13dfdcc7a54559a4e319684e73716150c136bb
parentf3b0f38263552a134796e57046c5d0aed1d505c2
HAMMER 18B/many: Stabilization pass

* Fix B_LOCKED buffer leakages by clearing B_LOCKED when a bp is
  disassociated from its related HAMMER structure.

* The sync code can be called with a buffer still referenced from
  other sources, so hammer_flush_buffer_nodes() can't be called.  The
  refactored hammer_node abstraction no longer holds active refs on
  the underlying buffer anyway (unless actively referenced itself), so
  there is no need to flush it to guarentee that the buffer itself gets
  flushed.
sys/vfs/hammer/hammer_io.c
sys/vfs/hammer/hammer_ondisk.c