Skip to content

Commit b3bc1a8

Browse files
hreineckemartinkpetersen
authored andcommitted
scsi: core: Return BLK_STS_TRANSPORT for ALUA transitioning
When the 'ALUA state transitioning' sense code is returned we cannot use BLK_STS_AGAIN, as this has a very specific use-case. So return BLK_STS_TRANSPORT here. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 30c4fdc commit b3bc1a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/scsi_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ static void scsi_io_completion_action(struct scsi_cmnd *cmd, int result)
779779
action = ACTION_DELAYED_RETRY;
780780
break;
781781
case 0x0a: /* ALUA state transition */
782-
blk_stat = BLK_STS_AGAIN;
782+
blk_stat = BLK_STS_TRANSPORT;
783783
fallthrough;
784784
default:
785785
action = ACTION_FAIL;

0 commit comments

Comments
 (0)