]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/rados: test sparse reads with ec overwrites
authorJosh Durgin <jdurgin@redhat.com>
Wed, 15 Feb 2017 01:03:19 +0000 (17:03 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 20 Apr 2017 00:45:43 +0000 (17:45 -0700)
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
qa/tasks/rados.py
qa/workunits/cephtool/test.sh

index 4e4f746cb05e843ed323322e8b84f8c628550f35..2ef542fd278563a6cd28b9c46ac4474ea43322c3 100644 (file)
@@ -137,9 +137,7 @@ def task(ctx, config):
         'ceph_test_rados']
     if config.get('ec_pool', False):
         args.extend(['--no-omap'])
-        if config.get('erasure_code_use_overwrites', False):
-            args.extend(['--no-sparse'])
-        else:
+        if not config.get('erasure_code_use_overwrites', False):
             args.extend(['--ec-pool'])
     if config.get('write_fadvise_dontneed', False):
         args.extend(['--write-fadvise-dontneed'])
index 8390c4222933aafc8ee75eaf174a7034abb25833..94c11aeebf24b18352b2408bf5b2a9612e4c8a9e 100755 (executable)
@@ -989,7 +989,7 @@ function test_mon_mds()
 
   # We should be permitted to use an EC pool with overwrites enabled
   # as the data pool...
-  ceph osd pool set mds-ec-pool debug_white_box_testing_ec_overwrites true --yes-i-really-mean-it
+  ceph osd pool set mds-ec-pool allow_ec_overwrites true
   ceph fs new $FS_NAME fs_metadata mds-ec-pool --force 2>$TMPFILE
   fail_all_mds $FS_NAME
   ceph fs rm $FS_NAME --yes-i-really-mean-it