android_kernel_samsung_univ.../drivers/scsi/cxlflash
Matthew R. Ochs 6f81dea403 scsi: cxlflash: Improve EEH recovery time
commit 05dab43230fdc0d14ca885b473a2740fe017ecb1 upstream.

When an EEH occurs during device initialization, the port timeout logic
can cause excessive delays as MMIO reads will fail. Depending on where
they are experienced, these delays can lead to a prolonged reset,
causing an unnecessary triggering of other timeout logic in the SCSI
stack or user applications.

To expedite recovery, the port timeout logic is updated to decay the
timeout at a much faster rate when in the presence of a likely EEH
frozen event.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Acked-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-08 07:46:02 +02:00
..
common.h cxlflash: Increase cmd_per_lun for better throughput 2017-03-26 12:13:17 +02:00
Kconfig
lunmgt.c
main.c scsi: cxlflash: Improve EEH recovery time 2017-05-08 07:46:02 +02:00
main.h
Makefile
sislite.h
superpipe.c
superpipe.h
vlun.c
vlun.h