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