max_recovery

package
v0.0.0-...-db53517 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: MulanPSL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaxRecovery

type MaxRecovery struct {
	context.Context
	IpAddr string `json:"ipAddr"`

	DataPool   string `json:"dataPool"`
	DataVolume string `json:"dataVolume"`
	Runtime    int64  `json:"runtime"`

	BlockSize []blockSizeItem `json:"blockSize"`
	MaxActive []int64         `json:"maxActive"`

	ResultDir string `json:"resultDir"`
	// contains filtered or unexported fields
}

func NewMaxRecovery

func NewMaxRecovery(configPath string, ctx context.Context) (*MaxRecovery, error)

func (*MaxRecovery) BaseLine

func (recovery *MaxRecovery) BaseLine(fioConfig fio.Fio) (interface{}, error)

func (*MaxRecovery) ReadConfig

func (recovery *MaxRecovery) ReadConfig(configFilePath string) error

func (*MaxRecovery) Run

func (recovery *MaxRecovery) Run() error

type MaxRecoveryResult

type MaxRecoveryResult struct {
	fio.Fio
	BaseLine        fio.FioResult       `json:"baseLine"`
	RecoveryResults []FioRecoveryResult `json:"recoveryResults"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL