log-writes: add replay-log program to replay dm-log-writes target
authorAmir Goldstein <amir73il@gmail.com>
Thu, 7 Sep 2017 10:03:06 +0000 (13:03 +0300)
committerEryu Guan <eguan@redhat.com>
Sat, 9 Sep 2017 10:15:53 +0000 (18:15 +0800)
commitb1e2e6b0279e9a9d0d1b4125377114ba1e5936bd
tree4ba766b95f0c180d8384dd253d2b897e68a76e7b
parent2a15cabaf6a23bd77038c724cc262b0fa78ed3e9
log-writes: add replay-log program to replay dm-log-writes target

Imported Josef Bacik's code from:
https://github.com/josefbacik/log-writes.git

Specialized program for replaying a write log that was recorded by
device mapper log-writes target.  The tools is used to perform
crash consistency tests, allowing to run an arbitrary check tool
(fsck) at specified checkpoints in the write log.

[Amir:]
- Add project Makefile and SOURCE files
- Document the replay-log auxiliary program
- Address review comments by Eryu Guan

Cc: Josef Bacik <jbacik@fb.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
.gitignore
doc/auxiliary-programs.txt
src/Makefile
src/log-writes/Makefile [new file with mode: 0644]
src/log-writes/SOURCE [new file with mode: 0644]
src/log-writes/log-writes.c [new file with mode: 0644]
src/log-writes/log-writes.h [new file with mode: 0644]
src/log-writes/replay-log.c [new file with mode: 0644]