mirror of
https://github.com/ceph/ceph
synced 2024-12-25 12:54:16 +00:00
dc7a2aaf7a
1) ruleset is an obsolete term, and 2) crush-{rule,failure-domain,...} is more descriptive. Note that we are changing the names of the erasure code profile keys from ruleset-* to crush-*. We will update this on upgrade when the luminous flag is set, but that means that during mon upgrade you cannot create EC pools that use these fields. When the upgrade completes (users sets require_osd_release = luminous) existing ec profiles are updated automatically. Signed-off-by: Sage Weil <sage@redhat.com>
32 lines
706 B
YAML
32 lines
706 B
YAML
#
|
|
# k=3 implies a stripe_width of 1376*3 = 4128 which is different from
|
|
# the default value of 4096 It is also not a multiple of 1024*1024 and
|
|
# creates situations where rounding rules during recovery becomes
|
|
# necessary.
|
|
#
|
|
tasks:
|
|
- rados:
|
|
clients: [client.0]
|
|
ops: 4000
|
|
objects: 50
|
|
ec_pool: true
|
|
write_append_excl: false
|
|
erasure_code_profile:
|
|
name: jerasure31profile
|
|
plugin: jerasure
|
|
k: 3
|
|
m: 1
|
|
technique: reed_sol_van
|
|
crush-failure-domain: osd
|
|
op_weights:
|
|
read: 100
|
|
write: 0
|
|
append: 100
|
|
delete: 50
|
|
snap_create: 50
|
|
snap_remove: 50
|
|
rollback: 50
|
|
copy_from: 50
|
|
setattr: 25
|
|
rmattr: 25
|