summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/Makefile
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-08-20 15:11:03 -0500
committerJames Bottomley <James.Bottomley@suse.de>2009-09-05 09:42:48 -0500
commit70b31c152dc49ef70bd2b34ad53ccbd9bb4116d4 (patch)
tree9d3c857ed4604b7843a0bec05e85afb095228082 /drivers/macintosh/Makefile
parentd1af8a328755f51c9b76157a8692e56520d3fd94 (diff)
[SCSI] libiscsi, iscsi_tcp: check suspend bit before each call to xmit_task
If we had multiple tasks on the cmd or requeue lists, and iscsi_tcp returns a error, the write_space function can still run and queue iscsi_data_xmit. If it was a legetimate problem and iscsi_conn_failure was run but we raced and iscsi_data_xmit was run first it could miss the suspend bit checks, and start trying to send data again and hit another timeout. A similar problem is present when using cxgb3i. This has libiscsi check the suspend bit before calling the xmit task callout, so we at least do not try sending multiple tasks (one could be sent). Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/macintosh/Makefile')
0 files changed, 0 insertions, 0 deletions