]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] FC transport: Add dev_loss_tmo callbacks, and new fast_io_fail_tmo w/ callback
authorJames Smart <James.Smart@Emulex.Com>
Fri, 18 Aug 2006 21:33:29 +0000 (17:33 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 5 Sep 2006 02:22:05 +0000 (21:22 -0500)
commit0f29b966d60e9a4f5ecff9f3832257b38aea4f13
tree0b14cbcdf74aee4676c49353f816ae5f98c504ee
parentae36764a230ff6a278ed93735acf5fcda08f2786
[SCSI] FC transport: Add dev_loss_tmo callbacks, and new fast_io_fail_tmo w/ callback

This patch adds the following functionality to the FC transport:

- dev_loss_tmo LLDD callback :
  Called to essentially confirm the deletion of an rport. Thus, it is
  called whenever the dev_loss_tmo fires, or when the rport is deleted
  due to other circumstances (module unload, etc).  It is expected that
  the callback will initiate the termination of any outstanding i/o on
  the rport.

- fast_io_fail_tmo and LLD callback:
  There are some cases where it may take a long while to truly determine
  device loss, but the system is in a multipathing configuration that if
  the i/o was failed quickly (faster than dev_loss_tmo), it could be
  redirected to a different path and completed sooner.

Many thanks to Mike Reed who cleaned up the initial RFC in support
of this post.

The original RFC is at:
http://marc.theaimsgroup.com/?l=linux-scsi&m=115505981027246&w=2

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_fc.c
include/scsi/scsi_transport_fc.h