提交 2e7a7426 编写于 作者: E Erez Zilber 提交者: Roland Dreier

IB/iser: Start connection after enabling iSER

When a connection is started (a new connection or a recovered one),
iSER should prepare its resources for full-featured mode and only then
notify the iSCSI layer that it is ready to start queueing commands.
Signed-off-by: NErez Zilber <erezz@voltaire.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 ae99a78a
......@@ -363,11 +363,11 @@ iscsi_iser_conn_start(struct iscsi_cls_conn *cls_conn)
struct iscsi_conn *conn = cls_conn->dd_data;
int err;
err = iscsi_conn_start(cls_conn);
err = iser_conn_set_full_featured_mode(conn);
if (err)
return err;
return iser_conn_set_full_featured_mode(conn);
return iscsi_conn_start(cls_conn);
}
static struct iscsi_transport iscsi_iser_transport;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册