From d0e272fec8f750192eb8d89831088985a845229e Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 5 Aug 2005 23:04:04 +0000 Subject: [PATCH] b=7039 - lov_change_cbdata() must iterate over all namespaces regardless activeness --- lustre/lov/lov_obd.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lustre/lov/lov_obd.c b/lustre/lov/lov_obd.c index 12791c1..9cc2c6d 100644 --- a/lustre/lov/lov_obd.c +++ b/lustre/lov/lov_obd.c @@ -1679,16 +1679,6 @@ static int lov_change_cbdata(struct obd_export *exp, lov = &exp->exp_obd->u.lov; for (i = 0,loi = lsm->lsm_oinfo; i < lsm->lsm_stripe_count; i++,loi++) { struct lov_stripe_md submd; - if (lov->tgts[loi->loi_ost_idx].active == 0) { - CDEBUG(D_HA, "lov idx %d inactive\n", loi->loi_ost_idx); - submd.lsm_object_id = loi->loi_id; - submd.lsm_object_gr = lsm->lsm_object_gr; - submd.lsm_stripe_count = 0; - obd_change_cbdata(lov->tgts[loi->loi_ost_idx].ltd_exp, - &submd, dump_missed_lock, NULL); - /*continue;*/ - } - submd.lsm_object_id = loi->loi_id; submd.lsm_object_gr = lsm->lsm_object_gr; submd.lsm_stripe_count = 0; -- 1.8.3.1