libceph: make pgid_cmp() global
calc_target() code is going to need to know how to compare PGs. Take lhs and rhs pgid by const * while at it. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
@@ -24,6 +24,8 @@ struct ceph_pg {
|
||||
uint32_t seed;
|
||||
};
|
||||
|
||||
int ceph_pg_compare(const struct ceph_pg *lhs, const struct ceph_pg *rhs);
|
||||
|
||||
#define CEPH_POOL_FLAG_HASHPSPOOL 1
|
||||
|
||||
struct ceph_pg_pool_info {
|
||||
|
Reference in New Issue
Block a user