summary refs log tree commit diff
path: root/fs/pipe.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2008-10-29 08:46:41 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-29 11:24:13 -0600
commitad8dcffaf9bc1d7eb86dabf591e95f4ffb86cf1b (patch)
treedb8928e93f09708714f3bed2dd2a2a244721b6b5 /fs/pipe.c
parent50119dad2a6c2674f35d81e708822b40f65f40cb (diff)
downloadlinux-ad8dcffaf9bc1d7eb86dabf591e95f4ffb86cf1b.tar.gz
[SCSI] ibmvfc: Error handling fixes
Due to an ambiguity in the VIOS VFC interface specification,
abort/cancel handling is not done correctly and can result in double
completion of commands. In order to cancel all outstanding commands to
a device, a cancel must be sent, followed by an abort task set. After
the responses are received for these commands, there may still be
commands outstanding, in the process of getting flushed back, in which
case, we need to wait for them. This patch removes the assumption that
if the abort and the cancel both complete successfully that the device
queue has been flushed and waits for all the responses to come back.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions