summaryrefslogtreecommitdiff
path: root/drivers/scsi/t128.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2006-05-30 05:37:28 (GMT)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-06-05 23:12:25 (GMT)
commit3219e5294150aee7d389e19029f49b44fb6b5c9f (patch)
tree44236fd9f2eb40d5622cadb126e9f2672b129486 /drivers/scsi/t128.c
parent040515f53c09047c76ad074dc6a280984dc84b04 (diff)
downloadlinux-fsl-qoriq-3219e5294150aee7d389e19029f49b44fb6b5c9f.tar.xz
[SCSI] iscsi: fix writepsace race
We can race and misset the suspend bit if iscsi_write_space is called then iscsi_send returns with a failure indicating there is no space. To handle this this patch returns a error upwards allowing xmitworker to decide if we need to try and transmit again. For the no write space case xmitworker will not retry, and instead let iscsi_write_space queue it back up if needed (this relies on the work queue code to properly requeue us if needed). Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/t128.c')
0 files changed, 0 insertions, 0 deletions