HAMMER 53D/Many: Stabilization
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 10 Jun 2008 00:40:31 +0000 (00:40 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 10 Jun 2008 00:40:31 +0000 (00:40 +0000)
commitcebe949331f2cd2feb05aaab0a1282926277b696
tree41cdbbe155b8631c961dd22b309f4a0dd84a8a5c
parent241b6cdc2ff443e0cdbf182ae1391a93a1426351
HAMMER 53D/Many: Stabilization

* Fix an overwrite bug with direct write which could result in file
  corruption.

* Reserve just-freed big blocks for two flush cycles to prevent HAMMER from
  overwriting destroyed data so it does not become corrupt if the system
  crashes.  This is needed because the recover code does not record UNDOs
  for data (nor do we want it to).

* More I/O subsystem work.  There may still be an ellusive panic related
  to calls to regetblk().
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_blockmap.c
sys/vfs/hammer/hammer_flusher.c
sys/vfs/hammer/hammer_freemap.c
sys/vfs/hammer/hammer_io.c
sys/vfs/hammer/hammer_object.c
sys/vfs/hammer/hammer_ondisk.c
sys/vfs/hammer/hammer_prune.c
sys/vfs/hammer/hammer_vfsops.c
sys/vfs/hammer/hammer_vnops.c