Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

increase weed mount IO perforance

Chris Lu3ddcd870983e
diff --git a/weed/filesys/file.go b/weed/filesys/file.go
index 5f7095330a..e096c7ba74 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