Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/ceph/
Dosdmap.h275 bool ceph_is_new_interval(const struct ceph_osds *old_acting,
290 bool ceph_osds_changed(const struct ceph_osds *old_acting,
/linux-6.1.9/net/ceph/
Dosdmap.c2318 bool ceph_is_new_interval(const struct ceph_osds *old_acting, in ceph_is_new_interval() argument
2334 return !osds_equal(old_acting, new_acting) || in ceph_is_new_interval()
2355 static bool primary_changed(const struct ceph_osds *old_acting, in primary_changed() argument
2358 if (!old_acting->size && !new_acting->size) in primary_changed()
2361 if (!old_acting->size ^ !new_acting->size) in primary_changed()
2364 if (old_acting->primary != new_acting->primary) in primary_changed()
2367 if (calc_pg_rank(old_acting->primary, old_acting) != in primary_changed()
2374 bool ceph_osds_changed(const struct ceph_osds *old_acting, in ceph_osds_changed() argument
2378 if (primary_changed(old_acting, new_acting)) in ceph_osds_changed()
2381 if (any_change && !__osds_equal(old_acting, new_acting)) in ceph_osds_changed()