Re: [fstests PATCH v4 2/4] dm-log-writes: only replay log to marks that exist

2017-11-17 Thread Eryu Guan
On Fri, Nov 17, 2017 at 01:28:26PM -0700, Ross Zwisler wrote: > The 'replay-log' executable will replay the dm-log-writes log until the > given mark, or until the end of the log if the mark isn't found. > > This means that if the mark you're looking for was never inserted in the > log or if you

[fstests PATCH v4 2/4] dm-log-writes: only replay log to marks that exist

2017-11-17 Thread Ross Zwisler
The 'replay-log' executable will replay the dm-log-writes log until the given mark, or until the end of the log if the mark isn't found. This means that if the mark you're looking for was never inserted in the log or if you give garbage to _log_writes_replay_log() the entire log will be replayed.