Documentation ¶
Index ¶
Constants ¶
View Source
const ( NQNPrefix = "nqn.2023-01.io.longhorn.spdk" DefaultJSONServerNetwork = "unix" DefaultUnixDomainSocketPath = "/var/tmp/spdk.sock" LocalIP = "127.0.0.1" MiB = 1 << 20 FrontendSPDKTCPNvmf = "spdk-tcp-nvmf" FrontendSPDKTCPBlockdev = "spdk-tcp-blockdev" ShallowCopyStateInProgress = "in progress" ShallowCopyStateComplete = "complete" ShallowCopyStateError = "error" ExecuteTimeout = 60 * time.Second )
View Source
const ( ErrorMessageCannotFindValidNvmeDevice = "cannot find a valid NVMe device" ErrorMessageDeviceOrResourceBusy = "device or resource busy" )
View Source
const ( DefaultCtrlrLossTimeoutSec = 15 // DefaultReconnectDelaySec can't be more than DefaultFastIOFailTimeoutSec. DefaultReconnectDelaySec = 2 DefaultFastIOFailTimeoutSec = 10 // DefaultTransportAckTimeout value is not the timeout second. // The timeout formula is 2^(transport_ack_timeout) msec. // DefaultTransportAckTimeout is set to 10, so the default timeout is 2^10 = 1024 msec = 1.024 sec. // By default, error detection on a qpair is very slow for TCP transports. For fast error // detection, transport_ack_timeout should be set. DefaultTransportAckTimeout = 10 DefaultKeepAliveTimeoutMs = 10000 DefaultMultipath = "disable" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.