diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2010-01-14 17:19:01 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-01-17 12:40:12 -0600 |
commit | 491ca4426ba153f79e72d1ca2a30c926484282b7 (patch) | |
tree | 44ad459ae8fa2521632d5a7f0f74bdf52409003c /drivers/s390/scsi/zfcp_scsi.c | |
parent | b8f08645f80a0c93246f3539ce53d3cae6a91fa0 (diff) | |
download | blackbird-obmc-linux-491ca4426ba153f79e72d1ca2a30c926484282b7.tar.gz blackbird-obmc-linux-491ca4426ba153f79e72d1ca2a30c926484282b7.zip |
[SCSI] zfcp: Introduce bsg_timeout callback.
Introduce a zfcp callback for timeouts triggered from FC BSG. With
zfcp, the underlying hardware cannot abort CT or ELS requests, so
there is nothing to do when the block layer timeout expires. To avoid
interference with the block layer timeout, simply indicate that the
block layer timer should be reset. The timer running in the hardware
for the pending CT or ELS request will return the request when it
expires.
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/scsi/zfcp_scsi.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_scsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c index 771cc536a989..8e6fc68d6bd4 100644 --- a/drivers/s390/scsi/zfcp_scsi.c +++ b/drivers/s390/scsi/zfcp_scsi.c @@ -652,6 +652,7 @@ struct fc_function_template zfcp_transport_functions = { .show_host_port_state = 1, .show_host_active_fc4s = 1, .bsg_request = zfcp_fc_exec_bsg_job, + .bsg_timeout = zfcp_fc_timeout_bsg_job, /* no functions registered for following dynamic attributes but directly set by LLDD */ .show_host_port_type = 1, |