HAMMER Utilities: Sync with 60E
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 7 Jul 2008 00:27:22 +0000 (00:27 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 7 Jul 2008 00:27:22 +0000 (00:27 +0000)
commit243ca327ba96f43f565bb5b25d5a8ab95fcce49e
tree753e5d44b000b779a415139046e1bf11588c36e5
parentadf0174788ef0df2a05e0758a93657c2b6f899be
HAMMER Utilities: Sync with 60E

* Change the cycle file to hold an entire B-Tree base key, plus an optional
  TID (used by the mirroring code).

* Flesh out the mirroring code.  Add timeout (-t) support.  Add cycle file
  support.

* When mirror-copy is used have the target sync the filesystem
  and acknowledge completion and store the completed TID in the cycle
  file.

* Incremental mirroring now works when using mirror-copy with a cycle file.

* Add mirror-dump, aka hammer mirror-read ... | hammer mirror-dump, for
  debugging.
sbin/hammer/cmd_mirror.c
sbin/hammer/cmd_pseudofs.c
sbin/hammer/cmd_reblock.c
sbin/hammer/cmd_show.c
sbin/hammer/cmd_softprune.c
sbin/hammer/cycle.c
sbin/hammer/hammer.8
sbin/hammer/hammer.c
sbin/hammer/hammer.h