New features: - Support resizing normal vitastor-disk partitions and moving journal/metadata: [vitastor-disk resize](https://vitastor.io/docs/usage/disk.html#resize) - Support simple forms of vitastor-disk {dump,write}-{meta,journal} for OSD partitions Bug fixes: - Fix block RWX volumes broken after introducing stage/unstage support - Do not allow to create non-block RWX volumes in CSI - Fix vitastor-disk prepare not seeing the newly created partition in rare cases - Fix non-array tags not showing up in ls-osd/osd-tree - Make OpenNebula oned.conf patching during installation smarter - Fix iseek option in vitastor-cli dd not working - Validate conv=, iflag=, oflag= options in vitastor-cli dd - Fix vitastor-disk write-meta not writing header checksum to the disk - Fix JSON format in vitastor-disk dump-meta - Fix read_chain_bitmap not working for snapshot in another pool - Fix a possible OSD crash during parallel read & write to an image with snapshots - Several followups to the READ_CHAIN_BITMAP fix: avoid data reads, fix possible overflow in is_zero(), fix bitmap size
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.9.2"
|
|
)
|
|
|
|
// 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{}
|
|
}
|