[openib-general] [PATCH] IB/iser: start conn after enabling iSER
Erez Zilber
erezz at voltaire.com
Sun Oct 22 01:28:38 PDT 2006
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: Erez Zilber <erezz at voltaire.com>
---
drivers/infiniband/ulp/iser/iscsi_iser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c
index eb6f98d..9b2041e 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.c
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.c
@@ -363,11 +363,11 @@ iscsi_iser_conn_start(struct iscsi_cls_c
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;
--
1.4.2
More information about the general
mailing list