HAMMER 38E/Many: Undo/Synchronization and crash recovery
commit9b008c2241d78a116a917e7d01fde645c7b2a6f1
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 26 Apr 2008 08:02:17 +0000 (26 08:02 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 26 Apr 2008 08:02:17 +0000 (26 08:02 +0000)
treeec545249355f23ec0bd900b8bbe2efd76c984589
parent10847aebf586c31b92c505406a974ad3496872d4
HAMMER 38E/Many: Undo/Synchronization and crash recovery

* Add record<->inode dependancies for file creation an deletion.  If a
  directory entry representing a new file is synced out, the file is also
  synced out at the same time, and vise-versa.

* Dirty reclaimed inodes are now forwarded to the flusher, which should
  prevent leaks of hammer_inode structures.  (Still needs work).

* Force finalization if the undo fifo becomes more then half full.
  This can currently break dependancies.  (Still needs work).

* Misc stabilization fixes to recent commits.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_btree.c
sys/vfs/hammer/hammer_flusher.c
sys/vfs/hammer/hammer_inode.c
sys/vfs/hammer/hammer_object.c
sys/vfs/hammer/hammer_recover.c