aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-08-21 12:20:27 -0700
committerchrislu <chris.lu@gmail.com>2022-08-21 12:20:27 -0700
commit8b3429858de3067b3eef4cf7f3786e59e08fc894 (patch)
tree36193a8c1a650af3f953eaf5cf416f84696e3fd0
parent2ef6ab998c68f385be3076f41af703ac83bbf5b2 (diff)
downloadseaweedfs-8b3429858de3067b3eef4cf7f3786e59e08fc894.tar.xz
seaweedfs-8b3429858de3067b3eef4cf7f3786e59e08fc894.zip
align memory for atomic read/write
-rw-r--r--weed/mount/weedfs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go
index d7d5695da..9f1d85ab5 100644
--- a/weed/mount/weedfs.go
+++ b/weed/mount/weedfs.go
@@ -27,9 +27,9 @@ import (
)
type Option struct {
- MountDirectory string
+ filerIndex int32 // align memory for atomic read/write
FilerAddresses []pb.ServerAddress
- filerIndex int32
+ MountDirectory string
GrpcDialOption grpc.DialOption
FilerMountRootPath string
Collection string