Viewing: lustre_param.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2011, 2015, Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*
* User-settable parameter keys
*
* Author: Nathan Rutman <nathan@clusterfs.com>
*/
#ifndef _UAPI_LUSTRE_PARAM_H
#define _UAPI_LUSTRE_PARAM_H
#include <linux/string.h>
/** \defgroup param param
*
* @{
*/
/****************** User-settable parameter keys *********************/
/* 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=<secs>
* ... testfs.llite.max_read_ahead_mb=16
*/
/* System global or special params not handled in obd's proc
* See mgs_write_log_sys()
*/
#define PARAM_TIMEOUT "timeout=" /* global */
#define PARAM_LDLM_TIMEOUT "ldlm_timeout=" /* global */
#define PARAM_AT_MIN "at_min=" /* global */
#define PARAM_AT_MAX "at_max=" /* global */
#define PARAM_AT_EXTRA "at_extra=" /* global */
#define PARAM_AT_EARLY_MARGIN "at_early_margin=" /* global */
#define PARAM_AT_HISTORY "at_history=" /* global */
#define PARAM_JOBID_VAR "jobid_var=" /* global */
#define PARAM_MGSNODE "mgsnode=" /* only at mounttime */
#define PARAM_FAILNODE "failover.node=" /* add failover nid */
#define PARAM_FAILMODE "failover.mode=" /* initial mount only */
#define PARAM_ACTIVE "active=" /* activate/deactivate */
#define PARAM_NETWORK "network=" /* bind on nid */
#define PARAM_ID_UPCALL "identity_upcall=" /* identity upcall */
#define PARAM_ROOTSQUASH "root_squash=" /* root squash */
#define PARAM_NOSQUASHNIDS "nosquash_nids=" /* no squash nids */
#define PARAM_AUTODEGRADE "autodegrade=" /* autodegrade OST's */
/* compound parameters */
#define PARAM_TBFRULES "nrs_tbf_rule=" /* start|change|stop tbf rule */
#define PARAM_PCC "pcc=" /* add|del|clear pcc datasets */
#define PARAM_WBC "wbc=" /* Metadata writeback cache */
/* Prefixes for parameters handled by obd's proc methods (XXX_process_config) */
#define PARAM_OST "ost."
#define PARAM_OSD "osd."
#define PARAM_OSC "osc."
#define PARAM_MDT "mdt."
#define PARAM_HSM "mdt.hsm."
#define PARAM_MDD "mdd."
#define PARAM_MDC "mdc."
#define PARAM_LLITE "llite."
#define PARAM_LOV "lov."
#define PARAM_LOD "lod."
#define PARAM_OSP "osp."
#define PARAM_SYS "sys." /* global */
#define PARAM_SRPC "srpc."
#define PARAM_SRPC_FLVR "srpc.flavor."
#define PARAM_SRPC_UDESC "srpc.udesc.cli2mdt"
#define PARAM_SEC "security."
#define PARAM_QUOTA "quota." /* global */
#define LDD_PARAM_LEN 4096
/** @} param */
#endif /* _UAPI_LUSTRE_PARAM_H */