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
mount: mark directory uncached if forgotten
chrisluaad62ee14897
diff --git a/weed/mount/inode_to_path.go b/weed/mount/inode_to_path.goindex 91934a4a8b..1e2126b74c 100644--- a/weed/mount/inode_to_path.go+++ b/weed/mount/inode_to_path.go@@ -187,7 +187,8 @@ func (i *InodeToPath) Forget(inode, nlookup uint64, onForgetDir func(dir util.Fu}i.Unlock()if found {- if path.isDirectory && onForgetDir != nil {+ if path.isDirectory && path.nlookup <= 0 && onForgetDir != nil {+ path.isChildrenCached = falseonForgetDir(path.FullPath)}}