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
avoid FUSE cache only for the first 512 bytes
chrislu866c2657f087
diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.goindex 4f7b7f37e7..98b92cc500 100644--- a/weed/filesys/filehandle.go+++ b/weed/filesys/filehandle.go@@ -174,7 +174,7 @@ func (fh *FileHandle) Write(ctx context.Context, req *fuse.WriteRequest, resp *f// write the request to volume serversdata := req.Data- if len(data) <= 512 {+ if len(data) <= 512 && req.Offset == 0 {// fuse message cacheable sizedata = make([]byte, len(req.Data))copy(data, req.Data)