]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librados: move get_inconsistent_pgs() into RadosClient
authorKefu Chai <kchai@redhat.com>
Wed, 24 Oct 2018 07:35:05 +0000 (15:35 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 1 Nov 2018 16:09:17 +0000 (00:09 +0800)
commit9167c8381f2c04e302b20a0b9febb60210dba1fb
treeaed0e547bacdd0120b8cfbfc8d629638431f8889
parentc0fd904b99a928f3cc2df112f5162edfe6a9165c
librados: move get_inconsistent_pgs() into RadosClient

so we don't need parse the pg string and render it again for librados C
API.

the downside of this change is that, get_inconsistent_pgs() could be
implemented using RadosClient, instead be *in* it. but before we have
a place for the helper functions for these higher-level functions,
RadosClient is a good place for hosting them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/librados/RadosClient.cc
src/librados/RadosClient.h
src/librados/librados.cc