]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: verify the profile content matches get_profile() 4712/head
authorLoic Dachary <ldachary@redhat.com>
Sun, 17 May 2015 22:06:06 +0000 (00:06 +0200)
committerLoic Dachary <ldachary@redhat.com>
Mon, 1 Jun 2015 19:52:14 +0000 (21:52 +0200)
commite2e1f35febb5eccf337b6123339e975241bf5abf
tree3ce43d8f7b42cb707539b9f28d9847e087af90e4
parent8e61a99d0d1bc53277bbe12720f27755eba82025
erasure-code: verify the profile content matches get_profile()

The profile stored by the plugin may be different from the one set by
the user: it includes defaults. When the plugin is initialized, the
profile is modified to include the default values. Verify that the
modified profile matches what the get_profile() method returns, to guard
against inconsistencies from the erasure code plugin implementation.

http://tracker.ceph.com/issues/11663 Fixes: #11663

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/erasure-code/ErasureCodePlugin.cc