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
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);