From 3ddcd870983e68e24ad569127f9a989d7bc986dc Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 14 Oct 2018 00:10:17 -0700 Subject: [PATCH] increase weed mount IO perforance --- weed/filesys/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filesys/file.go b/weed/filesys/file.go index 5f7095330..e096c7ba7 100644 --- a/weed/filesys/file.go +++ b/weed/filesys/file.go @@ -43,7 +43,7 @@ func (file *File) Attr(ctx context.Context, attr *fuse.Attr) error { attr.Gid = file.entry.Attributes.Gid attr.Uid = file.entry.Attributes.Uid attr.Blocks = attr.Size/blockSize + 1 - attr.BlockSize = blockSize + attr.BlockSize = 1024 * 1024 * 16 return nil