Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271037
b: refs/heads/master
c: ebd1f64
h: refs/heads/master
i:
  271035: 1ce1350
v: v3
  • Loading branch information
Hannes Reinecke authored and James Bottomley committed Aug 30, 2011
1 parent 0242a40 commit 17b1c5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: cfde3fa166c7367258ab32c8a092ae787b2bc8af
refs/heads/master: ebd1f645bd4a284022c7d449a63fe48a3fc5a86e
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/device_handler/scsi_dh_alua.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ static int alua_rtpg(struct scsi_device *sdev, struct alua_dh_data *h)
int len, k, off, valid_states = 0;
unsigned char *ucp;
unsigned err;
unsigned long expiry, interval = 10;
unsigned long expiry, interval = 1;

expiry = round_jiffies_up(jiffies + ALUA_FAILOVER_TIMEOUT);
retry:
Expand Down Expand Up @@ -567,7 +567,7 @@ static int alua_rtpg(struct scsi_device *sdev, struct alua_dh_data *h)
case TPGS_STATE_TRANSITIONING:
if (time_before(jiffies, expiry)) {
/* State transition, retry */
interval *= 10;
interval *= 2;
msleep(interval);
goto retry;
}
Expand Down

0 comments on commit 17b1c5d

Please sign in to comment.