replay-log: add support for replaying ops in target device sector range
authorAmir Goldstein <amir73il@gmail.com>
Thu, 7 Sep 2017 10:03:08 +0000 (13:03 +0300)
committerEryu Guan <eguan@redhat.com>
Sat, 9 Sep 2017 10:15:53 +0000 (18:15 +0800)
commitb65b808ee3df0b35fc013ef959e59b99ed27aae1
tree2d18dfc50cb2d1d1e170490c450f19001deb5187
parent9892f3155f63322843cb173ec032ba07a1975acf
replay-log: add support for replaying ops in target device sector range

Using command line options --start-sector and --end-sector, only
operations acting on the specified target device range will be
replayed.

Single vebbose mode (-v) prints out only replayed operations.
Double verbose mode (-vv) prints out also skipped operations.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
src/log-writes/log-writes.c
src/log-writes/log-writes.h
src/log-writes/replay-log.c