]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rbd: enable fsx deep_copy test case 16238/head
authorMykola Golub <to.my.trociny@gmail.com>
Tue, 31 Oct 2017 07:48:45 +0000 (09:48 +0200)
committerMykola Golub <to.my.trociny@gmail.com>
Mon, 6 Nov 2017 08:29:45 +0000 (10:29 +0200)
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
qa/suites/rbd/thrash/workloads/rbd_fsx_deep_copy.yaml [new file with mode: 0644]
qa/tasks/rbd_fsx.py

diff --git a/qa/suites/rbd/thrash/workloads/rbd_fsx_deep_copy.yaml b/qa/suites/rbd/thrash/workloads/rbd_fsx_deep_copy.yaml
new file mode 100644 (file)
index 0000000..7974914
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- rbd_fsx:
+    clients: [client.0]
+    ops: 6000
+    deep_copy: True
index ab1a47f093cba4ecb9c818846828a012e1962a4f..7dae4478a465594b33837100ee8920ce60bf8199 100644 (file)
@@ -92,6 +92,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('deep_copy', False):
+        args.append('-g') # -g deep copy instead of clone
     if config.get('journal_replay', False):
         args.append('-j') # -j replay all IO events from journal
     args.extend([