From: Sage Weil Date: Fri, 30 Nov 2018 15:55:38 +0000 (-0600) Subject: qa/objectstore: bluestore -> bluestore-{bitmap,stupid} X-Git-Tag: v13.2.6~102^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cf984c8a8b5a568f0de6795329d75b2208576d6e;p=ceph.git qa/objectstore: bluestore -> bluestore-{bitmap,stupid} The new default is bitmap, so we were testing bitmap twice. Instead, explicitly call out stupid and bitmap cases so a future default change won't break coverage. Signed-off-by: Sage Weil (cherry picked from commit f390704b4616c837352e7d6a8df91526cb047f0d) --- diff --git a/qa/objectstore/bluestore-bitmap.yaml b/qa/objectstore/bluestore-bitmap.yaml index 88dca3a21faa..b18e04bee326 100644 --- a/qa/objectstore/bluestore-bitmap.yaml +++ b/qa/objectstore/bluestore-bitmap.yaml @@ -20,6 +20,8 @@ overrides: osd failsafe full ratio: .95 # this doesn't work with failures bc the log writes are not atomic across the two backends # bluestore bluefs env mirror: true + bdev enable discard: true + bdev async discard: true ceph-deploy: fs: xfs bluestore: yes @@ -36,4 +38,6 @@ overrides: mon osd backfillfull_ratio: .85 mon osd nearfull ratio: .8 osd failsafe full ratio: .95 + bdev enable discard: true + bdev async discard: true diff --git a/qa/objectstore/bluestore-stupid.yaml b/qa/objectstore/bluestore-stupid.yaml new file mode 100644 index 000000000000..ca811f131a7b --- /dev/null +++ b/qa/objectstore/bluestore-stupid.yaml @@ -0,0 +1,43 @@ +overrides: + thrashosds: + bdev_inject_crash: 2 + bdev_inject_crash_probability: .5 + ceph: + fs: xfs + conf: + osd: + osd objectstore: bluestore + bluestore block size: 96636764160 + debug bluestore: 20 + debug bluefs: 20 + debug rocksdb: 10 + bluestore fsck on mount: true + bluestore allocator: stupid + # lower the full ratios since we can fill up a 100gb osd so quickly + mon osd full ratio: .9 + mon osd backfillfull_ratio: .85 + mon osd nearfull ratio: .8 + osd failsafe full ratio: .95 +# this doesn't work with failures bc the log writes are not atomic across the two backends +# bluestore bluefs env mirror: true + bdev enable discard: true + bdev async discard: true + ceph-deploy: + fs: xfs + bluestore: yes + conf: + osd: + osd objectstore: bluestore + bluestore block size: 96636764160 + debug bluestore: 20 + debug bluefs: 20 + debug rocksdb: 10 + bluestore fsck on mount: true + # lower the full ratios since we can fill up a 100gb osd so quickly + mon osd full ratio: .9 + mon osd backfillfull_ratio: .85 + mon osd nearfull ratio: .8 + osd failsafe full ratio: .95 + bdev enable discard: true + bdev async discard: true + diff --git a/qa/objectstore/bluestore.yaml b/qa/objectstore/bluestore.yaml deleted file mode 100644 index 07817ccb53a3..000000000000 --- a/qa/objectstore/bluestore.yaml +++ /dev/null @@ -1,42 +0,0 @@ -overrides: - thrashosds: - bdev_inject_crash: 2 - bdev_inject_crash_probability: .5 - ceph: - fs: xfs - conf: - osd: - osd objectstore: bluestore - bluestore block size: 96636764160 - debug bluestore: 20 - debug bluefs: 20 - debug rocksdb: 10 - bluestore fsck on mount: true - # lower the full ratios since we can fill up a 100gb osd so quickly - mon osd full ratio: .9 - mon osd backfillfull_ratio: .85 - mon osd nearfull ratio: .8 - osd failsafe full ratio: .95 -# this doesn't work with failures bc the log writes are not atomic across the two backends -# bluestore bluefs env mirror: true - bdev enable discard: true - bdev async discard: true - ceph-deploy: - fs: xfs - bluestore: yes - conf: - osd: - osd objectstore: bluestore - bluestore block size: 96636764160 - debug bluestore: 20 - debug bluefs: 20 - debug rocksdb: 10 - bluestore fsck on mount: true - # lower the full ratios since we can fill up a 100gb osd so quickly - mon osd full ratio: .9 - mon osd backfillfull_ratio: .85 - mon osd nearfull ratio: .8 - osd failsafe full ratio: .95 - bdev enable discard: true - bdev async discard: true -