HAMMER 35B/many: Stabilization pass, cleanups.
commit134cbec84d53739468d916d73c04f85e3db09c7c
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Mar 2008 06:43:44 +0000 (25 06:43 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Mar 2008 06:43:44 +0000 (25 06:43 +0000)
treefdc49a55c05d03b792818fd1203b115d3e9ec3a6
parentb09dd1e0c890876c65c91723cfd59b673b4fcf12
HAMMER 35B/many: Stabilization pass, cleanups.

* Fix a B-Tree node load race which could result in an assertion.  A
  B-Tree node load is backed by a hammer_buffer and can race a buffer
  teardown.  Interlock the two and properly deal with a loading
  B-Tree node whos buffer gets ripped out from under it.

* Fix an ordering issue with the volume->io.loading field, plus some
  cleanups.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_ondisk.c