- Fix another old "BUG: Attempt to overwrite used offset" in a very simple case: bs=4k rw=write iodepth=16 from OSD start; add this case to tests - Fix a rare crash with "unexpected state during flush: 0x51" possible with EC since 1.4.2 during rebalance and OSD outages - Fix a rare write stall with EC & immediate_commit=none caused by sync operations reserving unneeded space in the journal - Fix 32-bit build warnings, most in printf/scanf format strings
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.4.7"
|
|
)
|
|
|
|
// 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{}
|
|
}
|