Chen Pu
40eee23be9
mount: fix weed inode nlookup do not equel kernel inode nlookup ( #7682 )
* mount: fix weed inode nlookup do not equel kernel inode nlookup
* mount: add underflow protection for nlookup decrement in Forget
* mount: use consistent == 0 check for uint64 nlookup
* Update weed/mount/inode_to_path.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* mount: snapshot data before unlock in Forget to avoid using deleted InodeEntry
---------
Co-authored-by: chrislu <chris.lu@gmail.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
4 days ago
zemul
e77e50886e
mount metacache add ttl ( #6360 )
* fix:mount deadlock
* fix
* feat: metaCache ttl
* Update weed/command/mount.go
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
* fix InodeEntry
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
1 year ago
Gaspare Iengo
fce8fc1e16
Fix Issue #5649 ( #5652 )
2 years ago
chrislu
6aa804b368
lock instead of RLock, to prevent racing condition
https://github.com/seaweedfs/seaweedfs/discussions/5432#discussioncomment-8933608
2 years ago
chrislu
310eec9a9c
skip if path changed
mitigate https://github.com/seaweedfs/seaweedfs/issues/4968
2 years ago
VictorSFF
10d545060f
mount: fix new inode allocation ( #3633 )
3 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
chrislu
89e276de64
fix loop
3 years ago
chrislu
e0eda52c54
mount: ensure symlink parent directory is tracked
fix https://github.com/chrislusf/seaweedfs/issues/3373
3 years ago
chrislu
40089b6753
maintain node lookup counter
3 years ago
chrislu
d24db396cc
fix removing path from inode2path
3 years ago
chrislu
41eeb4deef
do not add new inode during link
3 years ago
chrislu
02c2d81cde
fix removePathFromInode2Path
3 years ago
chrislu
4d5dc55766
mount: better support hard links
3 years ago
chrislu
d685b94102
mount: rename also invalidate source inode
3 years ago
chrislu
6b3beb709d
fix format
4 years ago
chrislu
76f26c4b99
mount: delete target entry first during move
4 years ago
chrislu
bd5c5586b5
generate inode via path and time
4 years ago
chrislu
fcf3714443
mount: add back support for filer.path
4 years ago
chrislu
aad62ee148
mount: mark directory uncached if forgotten
4 years ago
chrislu
63a9d8f01d
ensure inodes are not duplicating unless hardlinked
4 years ago
chrislu
9ef5bb20f6
mount2: invalidate fuse cache for replaced inode
4 years ago
chrislu
be3fc77391
mount2: use consistent inode
4 years ago
chrislu
f9d33f70b0
return fuse.Status when looking up by inode
4 years ago
chrislu
6ac066d1dc
count lookup or not
4 years ago
chrislu
dbeeda8123
listen for metadata updates
4 years ago
chrislu
bb9919b07a
add open release, refactor
4 years ago
chrislu
3d0e9e5197
supports renaming
4 years ago
chrislu
6200b6abb1
avoid fatal message in some edge cases
4 years ago
chrislu
6a921e15f3
forget() factor in nlookup
4 years ago
chrislu
3d93570979
supports forget
4 years ago
chrislu
6a42cb6b0b
supports mknod, unlink
4 years ago
chrislu
b0a5193e32
working
4 years ago
chrislu
f4d88862c4
can attr root directory
4 years ago