提交 2742c1da 编写于 作者: B Bart Van Assche 提交者: Roland Dreier

IB/srp: Skip host settle delay

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: NBart Van Assche <bvanassche@acm.org>
Reviewed-by: NSebastian Riemer <sebastian.riemer@profitbricks.com>
Reviewed-by: NChristoph Hellwig <hch@infradead.org>
Acked-by: NDavid Dillow <dillowda@ornl.gov>
Signed-off-by: NRoland Dreier <roland@purestorage.com>
上级 086f44f5
...@@ -1951,6 +1951,7 @@ static struct scsi_host_template srp_template = { ...@@ -1951,6 +1951,7 @@ static struct scsi_host_template srp_template = {
.eh_abort_handler = srp_abort, .eh_abort_handler = srp_abort,
.eh_device_reset_handler = srp_reset_device, .eh_device_reset_handler = srp_reset_device,
.eh_host_reset_handler = srp_reset_host, .eh_host_reset_handler = srp_reset_host,
.skip_settle_delay = true,
.sg_tablesize = SRP_DEF_SG_TABLESIZE, .sg_tablesize = SRP_DEF_SG_TABLESIZE,
.can_queue = SRP_CMD_SQ_SIZE, .can_queue = SRP_CMD_SQ_SIZE,
.this_id = -1, .this_id = -1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册