1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-04 08:06:53 +02:00

increase weed mount IO perforance

This commit is contained in:
Chris Lu 2018-10-14 00:10:17 -07:00
parent ab85118233
commit 3ddcd87098

View file

@ -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