mirror of
https://github.com/minio/minio.git
synced 2025-12-01 13:52:34 -05:00
Load IO error count for posix atomically (#4448)
* Load error count atomically in order to check for maximum allowed number of IO errors. * Remove unused (previously atomic) network IO error count
This commit is contained in:
committed by
Harshavardhana
parent
a0e02f43e1
commit
0f0758aece
@@ -28,7 +28,6 @@ import (
|
||||
)
|
||||
|
||||
type networkStorage struct {
|
||||
networkIOErrCount int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
|
||||
rpcClient *AuthRPCClient
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user