Merge pull request #821 from ceph/wip-fsx-journal

rbd: add fsx journal replay test case

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
Josh Durgin 2016-02-29 18:18:22 -08:00
commit 03e6627de7
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
tasks:
- rbd_fsx:
clients: [client.0]
ops: 6000
journal_replay: True

View File

@ -89,6 +89,8 @@ def _run_one_client(ctx, config, role):
args.append('-U') # -U disables randomized striping
if not config.get('punch_holes', True):
args.append('-H') # -H disables discard ops
if config.get('journal_replay', False):
args.append('-j') # -j replay all IO events from journal
args.extend([
'pool_{pool}'.format(pool=role),
'image_{image}'.format(image=role),