Home
last modified time | relevance | path

Searched refs:old_acting (Results 1 – 1 of 1) sorted by relevance

/net/ceph/
Dosdmap.c2283 bool ceph_is_new_interval(const struct ceph_osds *old_acting, in ceph_is_new_interval() argument
2299 return !osds_equal(old_acting, new_acting) || in ceph_is_new_interval()
2320 static bool primary_changed(const struct ceph_osds *old_acting, in primary_changed() argument
2323 if (!old_acting->size && !new_acting->size) in primary_changed()
2326 if (!old_acting->size ^ !new_acting->size) in primary_changed()
2329 if (old_acting->primary != new_acting->primary) in primary_changed()
2332 if (calc_pg_rank(old_acting->primary, old_acting) != in primary_changed()
2339 bool ceph_osds_changed(const struct ceph_osds *old_acting, in ceph_osds_changed() argument
2343 if (primary_changed(old_acting, new_acting)) in ceph_osds_changed()
2346 if (any_change && !__osds_equal(old_acting, new_acting)) in ceph_osds_changed()