Skip to content

Commit

Permalink
Merge "Changed EC backend from jerasure to liberasurecode in examples…
Browse files Browse the repository at this point in the history
… and docs"
  • Loading branch information
Jenkins authored and openstack-gerrit committed Feb 9, 2016
2 parents 87fc21c + 16976a0 commit b140d7d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/saio/swift/swift.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ policy_type = replication
[storage-policy:2]
name = ec42
policy_type = erasure_coding
ec_type = jerasure_rs_vand
ec_type = liberasurecode_rs_vand
ec_num_data_fragments = 4
ec_num_parity_fragments = 2
2 changes: 1 addition & 1 deletion doc/source/overview_erasure_code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ an EC policy can be setup is shown below::
[storage-policy:2]
name = ec104
policy_type = erasure_coding
ec_type = jerasure_rs_vand
ec_type = liberasurecode_rs_vand
ec_num_data_fragments = 10
ec_num_parity_fragments = 4
ec_object_segment_size = 1048576
Expand Down
5 changes: 3 additions & 2 deletions etc/swift.conf-sample
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ aliases = yellow, orange
# The example 'deepfreeze10-4' policy defined below is a _sample_
# configuration with an alias of 'df10-4' as well as 10 'data' and 4 'parity'
# fragments. 'ec_type' defines the Erasure Coding scheme.
# 'jerasure_rs_vand' (Reed-Solomon Vandermonde) is used as an example below.
# 'liberasurecode_rs_vand' (Reed-Solomon Vandermonde) is used as an example
# below.
#
#[storage-policy:2]
#name = deepfreeze10-4
#aliases = df10-4
#policy_type = erasure_coding
#ec_type = jerasure_rs_vand
#ec_type = liberasurecode_rs_vand
#ec_num_data_fragments = 10
#ec_num_parity_fragments = 4
#ec_object_segment_size = 1048576
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ netifaces>=0.5,!=0.10.0,!=0.10.1
pastedeploy>=1.3.3
six>=1.9.0
xattr>=0.4
PyECLib>=1.0.7 # BSD
PyECLib>=1.0.8 # BSD

0 comments on commit b140d7d

Please sign in to comment.