HAMMER 60G/Many: Mirroring, bug fixes
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 7 Jul 2008 22:42:35 +0000 (22:42 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 7 Jul 2008 22:42:35 +0000 (22:42 +0000)
commite4a5ff06a8789c00748e6cf8e66b72464486ffaf
treefc57d741148492adeb66dce9fef93b30deee3088
parent9b42cabedff59ea3b351e8eccb2da9bab5cefe7e
HAMMER 60G/Many: Mirroring, bug fixes

* Fix a bug in the mirror_tid propagation that could cause a delete_range
  iteration to get way way off.  B-Tree insertions were not calling
  hammer_cursor_inserted_element().

* Fix an assertion in the delete_range iteration, delete-visibility could
  cause the assert to trigger when it shouldn't.

* Add a new assertion testing that the iteration is still within the
  inode object to catch any remaining mirror_tid propagation bugs.

* Minor code documentation adjustments.

Reported-by: Gergo Szakal <bastyaelvtars@gmail.com>
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_btree.c
sys/vfs/hammer/hammer_cursor.c
sys/vfs/hammer/hammer_object.c
sys/vfs/hammer/hammer_vnops.c