Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75528c8
)
Branch b1_5
author
nathan
<nathan>
Fri, 19 May 2006 21:52:35 +0000
(21:52 +0000)
committer
nathan
<nathan>
Fri, 19 May 2006 21:52:35 +0000
(21:52 +0000)
b=9862
reset qos penalty at reactivation
lustre/lov/lov_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_obd.c
b/lustre/lov/lov_obd.c
index
33dc956
..
6bb05e5
100644
(file)
--- 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: