Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330183
b: refs/heads/master
c: d54d35a
h: refs/heads/master
i:
  330181: bcdc3fb
  330179: 0f1b749
  330175: 85c4e9e
v: v3
  • Loading branch information
Ed Cashin authored and Linus Torvalds committed Oct 5, 2012
1 parent a0f4436 commit 2d9ff01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f0f0133747368fe0fcf3908f788b53591bff4e0
refs/heads/master: d54d35ac6605161a593e3f4411de338ef81b5263
1 change: 0 additions & 1 deletion trunk/drivers/block/aoe/aoe.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ enum {
TIMERTICK = HZ / 10,
MINTIMER = HZ >> 2,
MAXTIMER = HZ << 1,
HELPWAIT = 20,
};

struct buf {
Expand Down
8 changes: 3 additions & 5 deletions trunk/drivers/block/aoe/aoecmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,11 +633,9 @@ rexmit_timer(ulong vp)
list_del(pos);

t = f->t;
if (n > HELPWAIT) {
/* see if another target can help */
if (d->ntargets > 1)
d->htgt = t;
}
if (n > aoe_deadsecs/2)
d->htgt = t; /* see if another target can help */

if (t->nout == t->maxout) {
if (t->maxout > 1)
t->maxout--;
Expand Down

0 comments on commit 2d9ff01

Please sign in to comment.