File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -7926,7 +7926,6 @@ ds_pool_reint_extend_allowed(struct pool_svc *svc)
79267926 struct ds_pool * pool = svc -> ps_pool ;
79277927 struct pool_target * targets = NULL ;
79287928 uint32_t down_tgts_cnt = 0 ;
7929- uint64_t sys_self_heal = 0 ;
79307929 int rc ;
79317930 bool ret = true;
79327931
@@ -7952,27 +7951,6 @@ ds_pool_reint_extend_allowed(struct pool_svc *svc)
79527951 goto out ;
79537952 }
79547953
7955- rc = ds_mgmt_get_self_heal_policy (pool_svc_abort_gshp , svc , & sys_self_heal );
7956- if (rc != 0 ) {
7957- DL_ERROR (rc , DF_UUID ": failed to get self-heal policy" , DP_UUID (svc -> ps_uuid ));
7958- /*
7959- * Another PS replica might be able reach the MS. If I'm
7960- * not the PS leader of the specified term, this
7961- * rdb_resign call does nothing.
7962- */
7963- rdb_resign (svc -> ps_rsvc .s_db , svc -> ps_rsvc .s_term );
7964- ret = false;
7965- goto out ;
7966- }
7967-
7968- if (!(sys_self_heal & DS_MGMT_SELF_HEAL_POOL_REBUILD )) {
7969- D_DEBUG (DB_REBUILD ,
7970- DF_UUID " with DOWN tgt, pool_rebuild disabled in "
7971- "sys_self_heal, REINT/EXTEND allowed" ,
7972- DP_UUID (pool -> sp_uuid ));
7973- goto out ;
7974- }
7975-
79767954 ret = false;
79777955 D_INFO (DF_UUID " with %d DOWN tgts, REINT/EXTEND disallowed until rebuild done." ,
79787956 DP_UUID (pool -> sp_uuid ), down_tgts_cnt );
You can’t perform that action at this time.
0 commit comments