ceph_osds
struct ceph_osds acting;
struct ceph_osds up;
static inline void ceph_osds_init(struct ceph_osds *set)
void ceph_osds_copy(struct ceph_osds *dest, const struct ceph_osds *src);
bool ceph_is_new_interval(const struct ceph_osds *old_acting,
const struct ceph_osds *new_acting,
const struct ceph_osds *old_up,
const struct ceph_osds *new_up,
bool ceph_osds_changed(const struct ceph_osds *old_acting,
const struct ceph_osds *new_acting,
struct ceph_osds *up,
struct ceph_osds *acting);
static int pick_random_replica(const struct ceph_osds *acting)
const struct ceph_osds *acting)
struct ceph_osds up, acting;
static bool __osds_equal(const struct ceph_osds *lhs,
const struct ceph_osds *rhs)
static bool osds_equal(const struct ceph_osds *lhs,
const struct ceph_osds *rhs)
static bool osds_valid(const struct ceph_osds *set)
void ceph_osds_copy(struct ceph_osds *dest, const struct ceph_osds *src)
bool ceph_is_new_interval(const struct ceph_osds *old_acting,
const struct ceph_osds *new_acting,
const struct ceph_osds *old_up,
const struct ceph_osds *new_up,
static int calc_pg_rank(int osd, const struct ceph_osds *acting)
static bool primary_changed(const struct ceph_osds *old_acting,
const struct ceph_osds *new_acting)
bool ceph_osds_changed(const struct ceph_osds *old_acting,
const struct ceph_osds *new_acting,
struct ceph_osds *set)
struct ceph_osds *raw,
struct ceph_osds *raw)
struct ceph_osds *set)
struct ceph_osds *up)
struct ceph_osds *temp)
struct ceph_osds *up,
struct ceph_osds *acting)
struct ceph_osds up, acting;
struct ceph_osds up, acting;