On 10/10/13 14:12, Bart Van Assche wrote: > 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. [ ... ] (replying to my own e-mail) Since it takes some work to figure out the state transitions from the source code, I have tried to draw a diagram representing all state transitions. I have attached that diagram to this e-mail. That diagram probably will make it easier to review this code. Bart.