ceph/suites/rbd/qemu/cachepool/ec-cache.yaml
Jason Dillaman 27e05df81a suites/rbd: add EC pool variant for QEMU tests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-07-09 10:37:57 -04:00

15 lines
624 B
YAML

tasks:
- exec:
client.0:
- ceph osd erasure-code-profile set teuthologyprofile ruleset-failure-domain=osd m=1 k=2
- ceph osd pool delete rbd rbd --yes-i-really-really-mean-it
- ceph osd pool create rbd 4 4 erasure teuthologyprofile
- ceph osd pool create cache 4
- ceph osd tier add rbd cache
- ceph osd tier cache-mode cache writeback
- ceph osd tier set-overlay rbd cache
- ceph osd pool set cache hit_set_type bloom
- ceph osd pool set cache hit_set_count 8
- ceph osd pool set cache hit_set_period 60
- ceph osd pool set cache target_max_objects 250