aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/aoe')
-rw-r--r--drivers/block/aoe/aoe.h1
-rw-r--r--drivers/block/aoe/aoecmd.c8
2 files changed, 3 insertions, 6 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h
index ffded64dcbeb..d17b72763973 100644
--- a/drivers/block/aoe/aoe.h
+++ b/drivers/block/aoe/aoe.h
@@ -96,7 +96,6 @@ enum {
96 TIMERTICK = HZ / 10, 96 TIMERTICK = HZ / 10,
97 MINTIMER = HZ >> 2, 97 MINTIMER = HZ >> 2,
98 MAXTIMER = HZ << 1, 98 MAXTIMER = HZ << 1,
99 HELPWAIT = 20,
100}; 99};
101 100
102struct buf { 101struct buf {
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c
index bbab40c8d67c..e3291dfa7607 100644
--- a/drivers/block/aoe/aoecmd.c
+++ b/drivers/block/aoe/aoecmd.c
@@ -633,11 +633,9 @@ rexmit_timer(ulong vp)
633 list_del(pos); 633 list_del(pos);
634 634
635 t = f->t; 635 t = f->t;
636 if (n > HELPWAIT) { 636 if (n > aoe_deadsecs/2)
637 /* see if another target can help */ 637 d->htgt = t; /* see if another target can help */
638 if (d->ntargets > 1) 638
639 d->htgt = t;
640 }
641 if (t->nout == t->maxout) { 639 if (t->nout == t->maxout) {
642 if (t->maxout > 1) 640 if (t->maxout > 1)
643 t->maxout--; 641 t->maxout--;