]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: remove dependency to the global context
authorLoic Dachary <loic@dachary.org>
Sun, 16 Mar 2014 11:14:30 +0000 (12:14 +0100)
committerLoic Dachary <loic@dachary.org>
Mon, 17 Mar 2014 08:48:03 +0000 (09:48 +0100)
commitde62572c61a70785a93071b66e02cd136473ff42
treef2e13464e8196c6f819d87578a3acfcc2cd43431
parentbcc74879a19e798e0ed541483ce95f870350a701
erasure-code: remove dependency to the global context

Instead of relying on derr to display error messages, add them to an
ostream parameter given in argument to load() and factory(). The erasure
code convenience library no longer depends on the global context that is
indirectly referenced by debug.h

Signed-off-by: Loic Dachary <loic@dachary.org>
src/erasure-code/ErasureCodePlugin.cc
src/erasure-code/ErasureCodePlugin.h