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:
Frank Wessels
2017-05-31 09:22:53 -07:00
committed by Harshavardhana
parent a0e02f43e1
commit 0f0758aece
2 changed files with 13 additions and 14 deletions

View File

@@ -28,7 +28,6 @@ import (
)
type networkStorage struct {
networkIOErrCount int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
rpcClient *AuthRPCClient
}