[PATCH] scsi: Add printk to detect retry loop

2013-09-05 Thread Eiichi Tsukata
Currently, scsi error handling in scsi_decide_disposition() unconditionally retries on some errors. This is because retriable errors are thought to be temporary and the scsi device will soon recover from those errors. But there is no guarantee that the device is able to recover from error state imm

[PATCH] scsi: Add printk to detect retry loop

2013-09-05 Thread Eiichi Tsukata
Hello, This patch is to avoid indefinite command retry loop. The previous RFC patch is here: http://marc.info/?t=13769053762&r=1&w=3 In the previous discuss, James says that once retry loop is detected, whether or not to panic(offline) should be decided by user, and not in scsi subsystem. So