]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] iscsi class: regression - fix races with state manipulation and blocking/unblo...
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 4 Mar 2008 19:26:55 +0000 (13:26 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 5 Mar 2008 18:04:09 +0000 (12:04 -0600)
commit45ab33b6c190c4a8c58f1d13be2ff89ee62024ba
tree7bcec9986d93b55b0693829903a959e3c96f42b1
parent024f801f528220edc89275a724ea00cd18c5ebb7
[SCSI] iscsi class: regression - fix races with state manipulation and blocking/unblocking

For qla4xxx, we could be starting a session, but some error (network,
target, IO from a device that got started, etc) could cause the session
to fail and curring the block/unblock and state manipulation could race
with each other. This patch just has those operations done in the
single threaded iscsi eh work queue, so that way they are serialized.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_transport_iscsi.c
include/scsi/scsi_transport_iscsi.h