Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286337
b: refs/heads/master
c: 410f02d
h: refs/heads/master
i:
  286335: cb4ee3b
v: v3
  • Loading branch information
Moger, Babu authored and James Bottomley committed Jan 10, 2012
1 parent 33f972e commit 5248eda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b7db7af522d9f281ff8bf540d2b5cbea2206b27
refs/heads/master: 410f02d813212eef1dedfcfd43460dd11a0ff707
5 changes: 5 additions & 0 deletions trunk/drivers/scsi/device_handler/scsi_dh_alua.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,11 @@ static int alua_check_sense(struct scsi_device *sdev,
* Power On, Reset, or Bus Device Reset, just retry.
*/
return ADD_TO_MLQUEUE;
if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01)
/*
* Mode Parameters Changed
*/
return ADD_TO_MLQUEUE;
if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06)
/*
* ALUA state changed
Expand Down

0 comments on commit 5248eda

Please sign in to comment.