Important fixes: - Fix possibly incorrect EC parity chunk updates with EC n+k, k > 1 and when the first parity chunk is missing Minor fixes and improvements: - Fix incorrect EC free space statistics in vitastor-cli df output - Speedup vitastor-cli startup in clusters with RDMA - Remove unused PG "peered" state (previously used to update PG epoch) - Use sfdisk with just --json in vitastor-disk (--dump --json isn't needed) - Allow trailing comma in sfdisk output (fixes sfdisk 2.36 compatibility) - Slightly improve RDMA send/receive code - Reduce RDMA memory consumption by default (rdma_max_recv/send = 16/8) - Use vitastor-cli instead of direct etcd interaction in the CSI driver
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 = "0.8.6"
|
|
)
|
|
|
|
// 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{}
|
|
}
|