HAMMER 35B/many: Stabilization pass, cleanups.
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Mar 2008 06:43:44 +0000 (06:43 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Mar 2008 06:43:44 +0000 (06:43 +0000)
commit740d831767b60c6b4aac5a5e59cb4ed6e5564059
tree0c4226bee270d74b1820f7753fc8ded59724274d
parent949b6f678201849ab3ee56a78cd98c8df39b22b7
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