Whamcloud - gitweb
LU-3155 mgs: set_param -P option that sets value permanently
[fs/lustre-release.git] / lustre / include / obd_class.h
index 029b21e..5e91034 100644 (file)
@@ -183,20 +183,25 @@ int class_config_dump_llog(const struct lu_env *env, struct llog_ctxt *ctxt,
                           char *name, struct config_llog_instance *cfg);
 
 enum {
-        CONFIG_T_CONFIG  = 0,
-        CONFIG_T_SPTLRPC = 1,
-        CONFIG_T_RECOVER = 2,
-        CONFIG_T_MAX     = 3
+       CONFIG_T_CONFIG  = 0,
+       CONFIG_T_SPTLRPC = 1,
+       CONFIG_T_RECOVER = 2,
+       CONFIG_T_PARAMS  = 3,
+       CONFIG_T_MAX     = 4
 };
 
+#define PARAMS_FILENAME        "params"
+#define LCTL_UPCALL    "lctl"
+
 /* list of active configuration logs  */
 struct config_llog_data {
         struct ldlm_res_id          cld_resid;
         struct config_llog_instance cld_cfg;
         cfs_list_t                  cld_list_chain;
         cfs_atomic_t                cld_refcount;
-        struct config_llog_data    *cld_sptlrpc;/* depended sptlrpc log */
-        struct config_llog_data    *cld_recover;    /* imperative recover log */
+       struct config_llog_data    *cld_sptlrpc;/* depended sptlrpc log */
+       struct config_llog_data    *cld_params; /* common parameters log */
+       struct config_llog_data    *cld_recover;/* imperative recover log */
         struct obd_export          *cld_mgcexp;
        struct mutex                cld_lock;
         int                         cld_type;