Documentation
¶
Overview ¶
Package config for Edgefs target config managed by the operator
Index ¶
Constants ¶
View Source
const ( RtVerifyChidKey = "rtVerifyChid" LmdbPageSizeKey = "lmdbPageSize" UseBcacheKey = "useBCache" UseBcacheWBKey = "useBCacheWB" UseMetadataMaskKey = "useMetadataMask" UseMetadataOffloadKey = "useMetadataOffload" UseAllSSDKey = "useAllSSD" RtrdPlevelOverrideKey = "rtrdPLevelOverride" )
Variables ¶
This section is empty.
Functions ¶
func GetConfigStoreName ¶
Types ¶
type StoreConfig ¶
type StoreConfig struct {
// 0 (disabled), 1 (verify on write) or 2(verify on read/write)
RtVerifyChid int `json:"rtVerifyChid,omitempty"`
// 4096, 8192, 16384 or 32768
LmdbPageSize int `json:"lmdbPageSize,omitempty"`
// enable use of back cache
UseBCache bool `json:"useBCache,omitempty"`
// enable write back cache
UseBCacheWB bool `json:"useBCacheWB,omitempty"`
// what guts needs to go to SSD and what not
UseMetadataMask string `json:"useMetadataMask,omitempty"`
// when useAllSSD is false, enable metadata offload on SSD
UseMetadataOffload bool `json:"useMetadataOffload,omitempty"`
// only look for SSD/NVMe
UseAllSSD bool `json:"useAllSSD,omitempty"`
// if > 0, override automatic partitioning numbering logic
RtrdPLevelOverride int `json:"rtrdPLevelOverride,omitempty"`
}
func DefaultStoreConfig ¶
func DefaultStoreConfig() StoreConfig
func ToStoreConfig ¶
func ToStoreConfig(config map[string]string) StoreConfig
Click to show internal directories.
Click to hide internal directories.