Skip to content

Commit

Permalink
qa/tasks/rados: test sparse reads with ec overwrites
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Durgin <[email protected]>
  • Loading branch information
jdurgin committed Apr 20, 2017
1 parent 6fba80c commit a219319
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions qa/tasks/rados.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down
2 changes: 1 addition & 1 deletion qa/workunits/cephtool/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a219319

Please sign in to comment.