From: adilger Date: Wed, 30 May 2007 20:42:38 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: v1_8_0_110~1567 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=2ce163804d20d2793d0a1d864ce2760f591607e6;p=fs%2Flustre-release.git 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 --- diff --git a/lustre/obdecho/echo_client.c b/lustre/obdecho/echo_client.c index 83f4ab9..cf7f33d 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);