1
linux/drivers/scsi/ibmvscsi
Robert Jennings 3c887e8a1a [SCSI] ibmvscsi: Prevent IO during partner login
By setting the request_limit in send_srp_login to 1 we allowed login
requests to be sent to the server adapter.  If this was not an initial
login, but was a login after a disconnect with the server, other I/O
requests could attempt to be processed before the login occured.  These
I/O requests would fail, sometimes resulting in filesystems getting
marked read-only.

To address this we can set the request_limit to 0 while doing the login
and add an exception where login requests, along with task management
events, are always passed to the server.

There is a case where the request_limit had already reached 0 would result
in all events being sent rather than returning SCSI_MLQUEUE_HOST_BUSY; this
has also been fixed by this patch.

Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2007-11-03 12:10:36 -05:00
..
ibmvscsi.c [SCSI] ibmvscsi: Prevent IO during partner login 2007-11-03 12:10:36 -05:00
ibmvscsi.h [SCSI] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel 2007-10-12 14:49:26 -04:00
ibmvstgt.c [SCSI] srp_transport: convert to use supported_mode attribute 2007-10-12 14:47:02 -04:00
iseries_vscsi.c [SCSI] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel 2007-10-12 14:49:26 -04:00
Makefile [SCSI] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel 2007-10-12 14:49:26 -04:00
rpa_vscsi.c [SCSI] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel 2007-10-12 14:49:26 -04:00
viosrp.h [SCSI] ibmvscsi: convert the ibmvscsi driver to use include/scsi/srp.h 2006-04-13 10:13:17 -05:00