mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
During device discovery read capacity fails with 0x020401 and sets the device size to 0. As a reason any I/O submitted to this path gets killed at sd_prep_fn with BLKPREP_KILL. This patch is to retry for 0x020401. NEED_RETRY in scsi_decide_disposition does not give sufficient time for the device to become ready. Signed-off-by: Vijay Chauhan <[email protected]> Signed-off-by: James Bottomley <[email protected]>