@ -2082,6 +2082,8 @@ bool ceph_is_new_interval(const struct ceph_osds *old_acting,
u32 new_pg_num ,
u32 new_pg_num ,
bool old_sort_bitwise ,
bool old_sort_bitwise ,
bool new_sort_bitwise ,
bool new_sort_bitwise ,
bool old_recovery_deletes ,
bool new_recovery_deletes ,
const struct ceph_pg * pgid )
const struct ceph_pg * pgid )
{
{
return ! osds_equal ( old_acting , new_acting ) | |
return ! osds_equal ( old_acting , new_acting ) | |
@ -2089,7 +2091,8 @@ bool ceph_is_new_interval(const struct ceph_osds *old_acting,
old_size ! = new_size | |
old_size ! = new_size | |
old_min_size ! = new_min_size | |
old_min_size ! = new_min_size | |
ceph_pg_is_split ( pgid , old_pg_num , new_pg_num ) | |
ceph_pg_is_split ( pgid , old_pg_num , new_pg_num ) | |
old_sort_bitwise ! = new_sort_bitwise ;
old_sort_bitwise ! = new_sort_bitwise | |
old_recovery_deletes ! = new_recovery_deletes ;
}
}
static int calc_pg_rank ( int osd , const struct ceph_osds * acting )
static int calc_pg_rank ( int osd , const struct ceph_osds * acting )