reset AT flag on reconnects.
a=nathan (original author)
b=15487
r=rread
r=ericm
if (revimp->imp_msg_magic != LUSTRE_MSG_MAGIC_V1) {
if (export->exp_connect_flags & OBD_CONNECT_AT)
revimp->imp_msghdr_flags |= MSGHDR_AT_SUPPORT;
+ else
+ revimp->imp_msghdr_flags &= ~MSGHDR_AT_SUPPORT;
}
class_import_put(revimp);
/* Reset connect flags to the originally requested flags, in case
* the server is updated on-the-fly we will get the new features. */
imp->imp_connect_data.ocd_connect_flags = imp->imp_connect_flags_orig;
+ imp->imp_msghdr_flags &= ~MSGHDR_AT_SUPPORT;
+
rc = obd_reconnect(imp->imp_obd->obd_self_export, obd,
&obd->obd_uuid, &imp->imp_connect_data);
if (rc)