Documentation
¶
Overview ¶
Package nfs writes to and reads from the specified NFS mount points.
Index ¶
- Constants
- func GetDefaultConfigs() pkgnfschecker.Configs
- func HasNFSLockReclaimFailed(line string) bool
- func HasNFSServerNotResponding(line string) bool
- func HasNFSServerOK(line string) bool
- func HasNFSWritebackHang(line string) bool
- func Match(line string) (eventName string, message string)
- func New(gpudInstance *components.GPUdInstance) (components.Component, error)
- func SetDefaultConfigs(cfgs pkgnfschecker.Configs)
Constants ¶
const Name = "nfs"
Name is the name of the NFS component.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultConfigs ¶
func GetDefaultConfigs() pkgnfschecker.Configs
GetDefaultConfigs returns the current default NFS checker configs.
func HasNFSLockReclaimFailed ¶ added in v0.11.7
HasNFSLockReclaimFailed reports whether the line indicates NFS lock reclaim (state manager recovery) failed.
func HasNFSServerNotResponding ¶ added in v0.11.7
HasNFSServerNotResponding reports whether the line indicates an NFS server became unresponsive.
func HasNFSServerOK ¶ added in v0.11.7
HasNFSServerOK reports whether the line indicates an NFS server recovered.
func HasNFSWritebackHang ¶ added in v0.11.7
HasNFSWritebackHang reports whether the line is a kernel stack frame indicating the NFS writeback path is stuck.
func Match ¶ added in v0.11.7
Match returns the first NFS hang related kernel-message match for the given log line. It is a kmsg.MatchFunc.
func New ¶
func New(gpudInstance *components.GPUdInstance) (components.Component, error)
New creates the NFS component.
func SetDefaultConfigs ¶
func SetDefaultConfigs(cfgs pkgnfschecker.Configs)
SetDefaultConfigs replaces the default NFS checker configs.
Types ¶
This section is empty.