[SCSI] zfcp: Introduce bsg_timeout callback.
authorSwen Schillig <swen@vnet.ibm.com>
Thu, 14 Jan 2010 16:19:01 +0000 (17:19 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 17 Jan 2010 18:40:12 +0000 (12:40 -0600)
commit491ca4426ba153f79e72d1ca2a30c926484282b7
tree44ad459ae8fa2521632d5a7f0f74bdf52409003c
parentb8f08645f80a0c93246f3539ce53d3cae6a91fa0
[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>
drivers/s390/scsi/zfcp_ext.h
drivers/s390/scsi/zfcp_fc.c
drivers/s390/scsi/zfcp_scsi.c