X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_param.h;h=a0c9f6a8ec9e50d47fde2eda6cef641bc38610d8;hb=4c98c57e9fe2c30f5401f18f5ab024cdb7cf5b7b;hp=8de21b57c9f36d5e878e89797c440c808ed700d8;hpb=70e80ade90af09300396706b8910e196a7928520;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_param.h b/lustre/include/lustre_param.h index 8de21b5..a0c9f6a 100644 --- a/lustre/include/lustre_param.h +++ b/lustre/include/lustre_param.h @@ -16,8 +16,8 @@ * in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see [sun.com URL with a - * copy of GPLv2]. + * version 2 along with this program; If not, see + * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, * CA 95054 USA or visit www.sun.com if you need additional information or @@ -45,6 +45,7 @@ /* obd_config.c */ int class_find_param(char *buf, char *key, char **valp); +int class_get_next_param(char **params, char *copy); int class_match_param(char *buf, char *key, char **valp); int class_parse_nid(char *buf, lnet_nid_t *nid, char **endh); /* obd_mount.c */ @@ -54,17 +55,18 @@ int do_lcfg(char *cfgname, lnet_nid_t nid, int cmd, /****************** User-settable parameter keys *********************/ -/* e.g. +/* e.g. tunefs.lustre --param="failover.node=192.168.0.13@tcp0" /dev/sda lctl conf_param testfs-OST0000 failover.node=3@elan,192.168.0.3@tcp0 ... testfs-MDT0000.lov.stripesize=4M ... testfs-OST0000.ost.client_cache_seconds=15 - ... testfs.sys.timeout= + ... testfs.sys.timeout= ... testfs.llite.max_read_ahead_mb=16 */ /* System global or special params not handled in obd's proc */ #define PARAM_SYS_TIMEOUT "sys.timeout=" /* global */ +#define PARAM_SYS_LDLM_TIMEOUT "sys.ldlm_timeout=" /* global */ #define PARAM_MGSNODE "mgsnode=" /* during mount */ #define PARAM_FAILNODE "failover.node=" /* llog generation */ #define PARAM_FAILMODE "failover.mode=" /* llog generation */ @@ -74,6 +76,7 @@ int do_lcfg(char *cfgname, lnet_nid_t nid, int cmd, #define PARAM_OST "ost." #define PARAM_OSC "osc." #define PARAM_MDT "mdt." +#define PARAM_MDD "mdd." #define PARAM_MDC "mdc." #define PARAM_LLITE "llite." #define PARAM_LOV "lov."