From: nathan Date: Fri, 19 May 2006 21:52:35 +0000 (+0000) Subject: Branch b1_5 X-Git-Tag: v1_7_100~1^90~8^2~231 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=91d499291e1a0c0baa29b2707c842b79b4fd55fc;p=fs%2Flustre-release.git Branch b1_5 b=9862 reset qos penalty at reactivation --- diff --git a/lustre/lov/lov_obd.c b/lustre/lov/lov_obd.c index 33dc956..6bb05e5 100644 --- a/lustre/lov/lov_obd.c +++ b/lustre/lov/lov_obd.c @@ -354,6 +354,8 @@ static int lov_set_osc_active(struct lov_obd *lov, struct obd_uuid *uuid, lov->desc.ld_active_tgt_count++; else lov->desc.ld_active_tgt_count--; + /* remove any old qos penalty */ + tgt->ltd_qos.ltq_penalty = 0; EXIT; out: