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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
use the configurable chunk size
Chris Lu9db53cf25693
diff --git a/weed/filesys/file.go b/weed/filesys/file.goindex e096c7ba74..db9cb0a0f1 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.Gidattr.Uid = file.entry.Attributes.Uidattr.Blocks = attr.Size/blockSize + 1- attr.BlockSize = 1024 * 1024 * 16+ attr.BlockSize = uint32(file.wfs.option.ChunkSizeLimit)return nil