mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
increase weed mount IO perforance
This commit is contained in:
parent
ab85118233
commit
3ddcd87098
|
@ -43,7 +43,7 @@ func (file *File) Attr(ctx context.Context, attr *fuse.Attr) error {
|
||||||
attr.Gid = file.entry.Attributes.Gid
|
attr.Gid = file.entry.Attributes.Gid
|
||||||
attr.Uid = file.entry.Attributes.Uid
|
attr.Uid = file.entry.Attributes.Uid
|
||||||
attr.Blocks = attr.Size/blockSize + 1
|
attr.Blocks = attr.Size/blockSize + 1
|
||||||
attr.BlockSize = blockSize
|
attr.BlockSize = 1024 * 1024 * 16
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue