]> git.baikalelectronics.ru Git - kernel.git/commit
scsi_transport_srp: Add transport layer error handling
authorBart Van Assche <bvanassche@acm.org>
Sat, 26 Oct 2013 12:33:30 +0000 (14:33 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:43:15 +0000 (14:43 -0800)
commit89ccde6cfa3a991c87b2e04f454b61e0246fd2c7
tree93279b89d0b16228eccd2dc5f1d2b29c17c4e3af
parent0f8668eef7d3dc8584a2dc81562a0e90b0c2c0f0
scsi_transport_srp: Add transport layer error handling

Add the necessary functions in the SRP transport module to allow an
SRP initiator driver to implement transport layer error handling
similar to the functionality already provided by the FC transport
layer. This includes:

- Support for implementing fast_io_fail_tmo, the time that should
  elapse after having detected a transport layer problem and
  before failing I/O.
- Support for implementing dev_loss_tmo, the time that should
  elapse after having detected a transport layer problem and
  before removing a remote port.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Documentation/ABI/stable/sysfs-transport-srp
drivers/scsi/scsi_transport_srp.c
include/scsi/scsi_transport_srp.h