android_kernel_xiaomi_sm8350/drivers/scsi/ibmvscsi
Brian King 21465eda9e [SCSI] ibmvscsi: Don't fail EH due to insufficient resources
The ibmvscsi driver currently has a bug in it which can result
in it using up all its event structs for commands. If something
results in all those commands timing out, we won't have any resources
left to send aborts or resets. This results in escalating to a host reset
in order to recover, which is a bit heavy handed. This fixes it
by reducing can_queue by two in order to have resources to do EH.
It also changes the max_requests module parameter so that it is not
writable at runtime, since the code really does not handle it changing
at runtime.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-12-29 11:24:32 -06:00
..
ibmvfc.c [SCSI] ibmvfc: Fix errors due to inconsistent command data 2008-12-29 11:24:24 -06:00
ibmvfc.h [SCSI] ibmvfc: Delay NPIV login retry and add retries 2008-12-29 11:24:23 -06:00
ibmvscsi.c [SCSI] ibmvscsi: Don't fail EH due to insufficient resources 2008-12-29 11:24:32 -06:00
ibmvscsi.h ibmvscsi: driver enablement for CMO 2008-07-25 15:44:44 +10:00
ibmvstgt.c [SCSI] ibmvstgt: move crq_queue_create to the end of initialization 2008-12-09 09:45:30 -06:00
iseries_vscsi.c [SCSI] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel 2007-10-12 14:49:26 -04:00
Makefile [SCSI] ibmvfc: IBM Power Virtual Fibre Channel Adapter Client Driver 2008-07-12 08:22:32 -05:00
rpa_vscsi.c dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
viosrp.h [SCSI] ibmvscsi: Non SCSI error status fixup 2008-05-27 11:10:57 -05:00