Skip to content

Commit

Permalink
[SCSI] ibmvfc: Fix terminate_rport_io
Browse files Browse the repository at this point in the history
The ibmvfc driver was incorrectly obtaining a scsi_target pointer
from an fc_rport. The way it is coded ensures that ibmvfc's
terminate_rport_io handler does absolutely nothing. Fix this up
to iterate through affected devices differently, sending cancel
and abort task set as appropriate. Without this patch,
fast_io_fail_tmo is broken for ibmvfc.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Brian King authored and James Bottomley committed Aug 6, 2010
1 parent d5da304 commit d2fab5c
Show file tree
Hide file tree
Showing 2 changed files with 204 additions and 169 deletions.
Loading

0 comments on commit d2fab5c

Please sign in to comment.