Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: decrease ctrlr_loss_timeout_sec for base bdev #170

Merged
merged 2 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.o
*.a
*.so
go-spdk-helper

# Folders
_obj
Expand Down Expand Up @@ -38,4 +39,4 @@ bin/
# ignores all goland project folders and files
.idea/
*.iml
*.ipr
*.ipr
7 changes: 4 additions & 3 deletions pkg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ const (
ShallowCopyStateComplete = "complete"
ShallowCopyStateError = "error"

DefaultCtrlrLossTimeoutSec = 30
// DefaultReconnectDelaySec can't be more than DefaultFastIoFailTimeoutSec, same for non-default values.
DefaultCtrlrLossTimeoutSec = 15
// DefaultReconnectDelaySec can't be more than DefaultFastIOFailTimeoutSec.
DefaultReconnectDelaySec = 2
DefaultFastIOFailTimeoutSec = 15
DefaultFastIOFailTimeoutSec = 10

// DefaultTransportAckTimeout value is not the timeout second.
// The timeout formula is 2^(transport_ack_timeout) msec.
// DefaultTransportAckTimeout is 14, so the default timeout is 2^14 = 16384 msec = 16.384 sec.
Expand Down
Loading