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.

set inode value

Chris Lue332da48371f
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go
index 3588a5951c..f6f1c2562e 100644
--- a/weed/filesys/dir.go
+++ b/weed/filesys/dir.go
@@ -305,7 +305,7 @@ func (dir *Dir) Lookup(ctx context.Context, req *fuse.LookupRequest, resp *fuse.
}
// resp.EntryValid = time.Second
- // resp.Attr.Inode = fullFilePath.AsInode()
+ resp.Attr.Inode = fullFilePath.AsInode()
resp.Attr.Valid = time.Second
resp.Attr.Mtime = localEntry.Attr.Mtime
resp.Attr.Crtime = localEntry.Attr.Crtime