On 12.06.2013 15:24, Bart Van Assche wrote: > The SRP initiator implements host reset by reconnecting to the SRP > target. That means that communication with the target is possible > as soon as host reset finished. Hence skip the host settle delay. > > Signed-off-by: Bart Van Assche <[email protected]> > Cc: Roland Dreier <[email protected]> > Cc: David Dillow <[email protected]> > Cc: Vu Pham <[email protected]> > Cc: Sebastian Riemer <[email protected]> > --- > drivers/infiniband/ulp/srp/ib_srp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/infiniband/ulp/srp/ib_srp.c > b/drivers/infiniband/ulp/srp/ib_srp.c > index fb37b47..be12780 100644 > --- a/drivers/infiniband/ulp/srp/ib_srp.c > +++ b/drivers/infiniband/ulp/srp/ib_srp.c > @@ -1949,6 +1949,7 @@ static struct scsi_host_template srp_template = { > .eh_abort_handler = srp_abort, > .eh_device_reset_handler = srp_reset_device, > .eh_host_reset_handler = srp_reset_host, > + .skip_settle_delay = true, > .sg_tablesize = SRP_DEF_SG_TABLESIZE, > .can_queue = SRP_CMD_SQ_SIZE, > .this_id = -1, >
Signed-off-by: Sebastian Riemer <[email protected]> Acked-by: Sebastian Riemer <[email protected]> Tested-by: Sebastian Riemer <[email protected]> Reviewed-by: Sebastian Riemer <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Choose something, I totally agree. Adding Christoph in CC as he has reviewed this as well. Cheers, Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
