A bunch of monitor fixes - Add noout flag for OSDs (/vitastor/config/osd/xx) - Fix "effective" size of degraded PGs (and thus "used space") calculation in monitor - Fix monitor not clearing PGs of deleted pools - Fix incorrect PG generation with hosts with 0 OSDs - Fix monitor crashing during primary OSD recheck when pool has no PGs - Fix monitor crashing when node_placement included non-existing OSDs - Fix possible data movement after removing OSDs reweighted to 0 - Remove extra empty keys from pool configurations created by vitastor-cli create-pool - Fix 32-bit build
23 lines
461 B
Go
23 lines
461 B
Go
// Copyright (c) Vitaliy Filippov, 2019+
|
|
// License: VNPL-1.1 or GNU GPL-2.0+ (see README.md for details)
|
|
|
|
package vitastor
|
|
|
|
const (
|
|
vitastorCSIDriverName = "csi.vitastor.io"
|
|
vitastorCSIDriverVersion = "1.6.1"
|
|
)
|
|
|
|
// Config struct fills the parameters of request or user input
|
|
type Config struct
|
|
{
|
|
Endpoint string
|
|
NodeID string
|
|
}
|
|
|
|
// NewConfig returns config struct to initialize new driver
|
|
func NewConfig() *Config
|
|
{
|
|
return &Config{}
|
|
}
|