Whamcloud - gitweb
LU-13465 mgs: re-introduce mgs_set_info for interop purpose
[fs/lustre-release.git] / lustre / include / uapi / linux / lustre / lustre_idl.h
index bf04057..fc351f8 100644 (file)
@@ -2512,6 +2512,15 @@ enum mgs_cmd {
        MGS_FIRST_OPC   = MGS_CONNECT
 };
 
+#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 18, 53, 0)
+#define MGS_PARAM_MAXLEN 1024
+#define KEY_SET_INFO "set_info"
+
+struct mgs_send_param {
+       char            mgs_param[MGS_PARAM_MAXLEN];
+};
+#endif
+
 /* We pass this info to the MGS so it can write config logs */
 #define MTI_NAME_MAXLEN  64
 #define MTI_PARAM_MAXLEN 4096