From 2ce163804d20d2793d0a1d864ce2760f591607e6 Mon Sep 17 00:00:00 2001 From: adilger <adilger> Date: Wed, 30 May 2007 20:42:38 +0000 Subject: [PATCH] Branch b1_6 Connect the echo client with the separate REQPORTAL feature. This ensures that IO requests are sent to the IO portal, since liblustre clients (and eventually 1.8) default to connecting to the REQPORTAL and will send IO requests there incorrectly. b=11813 i=green i=shadow --- lustre/obdecho/echo_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdecho/echo_client.c b/lustre/obdecho/echo_client.c index 83f4ab9c4d..cf7f33d8f3 100644 --- a/lustre/obdecho/echo_client.c +++ b/lustre/obdecho/echo_client.c @@ -1383,7 +1383,7 @@ echo_client_setup(struct obd_device *obddev, obd_count len, void *buf) return -ENOMEM; } - ocd->ocd_connect_flags = OBD_CONNECT_VERSION; + ocd->ocd_connect_flags = OBD_CONNECT_VERSION | OBD_CONNECT_REQPORTAL; ocd->ocd_version = LUSTRE_VERSION_CODE; rc = obd_connect(&conn, tgt, &echo_uuid, ocd); -- GitLab