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
remove unused function
Chris Luf48567c5c62b
diff --git a/weed/filesys/dirty_page.go b/weed/filesys/dirty_page.goindex bfb417ea9d..88a1a4f55b 100644--- a/weed/filesys/dirty_page.go+++ b/weed/filesys/dirty_page.go@@ -25,9 +25,6 @@ func newDirtyPages(file *File) *ContinuousDirtyPages {}}-func (pages *ContinuousDirtyPages) releaseResource() {-}-var counter = int32(0)func (pages *ContinuousDirtyPages) AddPage(offset int64, data []byte) (chunks []*filer_pb.FileChunk, err error) {diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.goindex 9186eddbbf..94590f842b 100644--- a/weed/filesys/filehandle.go+++ b/weed/filesys/filehandle.go@@ -166,7 +166,6 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) errif fh.f.isOpen <= 0 {fh.doFlush(ctx, req.Header)- fh.dirtyPages.releaseResource()fh.f.wfs.ReleaseHandle(fh.f.fullpath(), fuse.HandleID(fh.handle))fh.f.entryViewCache = nilfh.f.reader = nil