block/blklogwrites: Add an option for appending to an old log

Suggested by Kevin Wolf. May be useful when testing multiple batches
of writes or doing long-term testing involving restarts of the VM.

Signed-off-by: Ari Sundholm <ari@tuxera.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Ari Sundholm 2018-07-04 17:59:35 +03:00 committed by Kevin Wolf
parent 2dacaf7c82
commit 0878b3c113
2 changed files with 135 additions and 15 deletions

View file

@ -3062,7 +3062,8 @@
{ 'struct': 'BlockdevOptionsBlklogwrites',
'data': { 'file': 'BlockdevRef',
'log': 'BlockdevRef',
'*log-sector-size': 'uint32' } }
'*log-sector-size': 'uint32',
'*log-append': 'bool' } }
##
# @BlockdevOptionsBlkverify: