]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: use erasure code profile when building the PGBackend
authorLoic Dachary <loic@dachary.org>
Sun, 16 Mar 2014 15:13:17 +0000 (16:13 +0100)
committerLoic Dachary <loic@dachary.org>
Mon, 17 Mar 2014 23:23:42 +0000 (00:23 +0100)
commit4f1b372e549db0ad66b17cfd750be7f1c9bbb604
tree31d0f9ac2431edfb54e30154b8a9cda8801c6b4d
parent173e95800be85a09f2cdca1e35f6bb89d4a2c995
osd: use erasure code profile when building the PGBackend

The PGBackend::build_pg_backend() prototype is modified to add an
OSDMapRef which is used to get the profile stored in the pg_pool_t
and pass it to the erasure code plugin.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/osd/PGBackend.cc
src/osd/PGBackend.h
src/osd/ReplicatedPG.cc