Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316780
b: refs/heads/master
c: bc97f4b
h: refs/heads/master
v: v3
  • Loading branch information
Rob Evers authored and James Bottomley committed Jul 20, 2012
1 parent d563025 commit 0a03e6a
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: 8e67ce6072a0ab7fcefbbd2913fa4eaf3fdd8d68
refs/heads/master: bc97f4bb4490ff31b2be8e006f750d4187ef0c7e
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 @@ -527,7 +527,7 @@ static int alua_rtpg(struct scsi_device *sdev, struct alua_dh_data *h)
unsigned char *ucp;
unsigned err;
bool rtpg_ext_hdr_req = 1;
unsigned long expiry, interval = 1000;
unsigned long expiry, interval = 0;
unsigned int tpg_desc_tbl_off;
unsigned char orig_transition_tmo;

Expand Down Expand Up @@ -632,7 +632,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 *= 2;
interval += 2000;
msleep(interval);
goto retry;
}
Expand Down

0 comments on commit 0a03e6a

Please sign in to comment.