rbd: do most tests with a (small) cache pool in front

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2014-04-11 22:27:12 -07:00
parent 03a8444253
commit e97b865037
5 changed files with 40 additions and 0 deletions

View File

View File

@ -0,0 +1,11 @@
tasks:
- exec:
client.0:
- 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

View File

View File

@ -0,0 +1,11 @@
tasks:
- exec:
client.0:
- 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

View File

@ -0,0 +1,18 @@
tasks:
- install:
- ceph:
log-whitelist:
- wrongly marked me down
- objects unfound and apparently lost
- exec:
client.0:
- 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
- thrashosds:
timeout: 1200