From 8b3429858de3067b3eef4cf7f3786e59e08fc894 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 21 Aug 2022 12:20:27 -0700 Subject: [PATCH] align memory for atomic read/write --- weed/mount/weedfs.go | 4 ++-- 1 file 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