Patrick Schmidt
5df105b1f9
Fix a few data races when reading files in mount ( #3527 )
2 years ago
chrislu
8b3429858d
align memory for atomic read/write
2 years ago
Patrick Schmidt
2ef6ab998c
Avoid race conditions with current filer address ( #3474 )
When multiple filer requests are in-flight and the current filer
disappears and a new one is selected by the first goroutine, then
there can be a lot of race conditions while retrieving the current
filer.
Therefore, load/save the current filer index atomically.
2 years ago
chrislu
bd13a7968f
remove unused symlink resolving
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
e0eda52c54
mount: ensure symlink parent directory is tracked
fix https://github.com/chrislusf/seaweedfs/issues/3373
2 years ago
chrislu
2dc5d4adac
disable symlink translation for now
2 years ago
chrislu
2b64916d3e
set status to fuse.OK
2 years ago
chrislu
7386cf6a06
mount: resolve symlink
2 years ago
ningfd
f32142f6f5
add disableXAttr in mount option
3 years ago
chrislu
d65bb2c6df
mount: file handle locks entry better
related to https://github.com/chrislusf/seaweedfs/issues/2952
3 years ago
chrislu
5b8b022985
remove unused parameter
3 years ago
chrislu
3ab2c0e5c0
avoid possible nil attributes
3 years ago
chrislu
958f880b70
mount: add grpc method to adjust quota
3 years ago
chrislu
f70c1e449b
add useful doc link
3 years ago
chrislu
011a41b561
add back writes to swap file when too many in memory chunks are used.
3 years ago
chrislu
c7e8ac18f0
mount: quota for one mounted collection
related to https://github.com/seaweedfs/seaweedfs-csi-driver/issues/48
3 years ago
chrislu
b7c992f410
add flag to enforce quota
3 years ago
chrislu
fcf3714443
mount: add back support for filer.path
3 years ago
chrislu
9ef5bb20f6
mount2: invalidate fuse cache for replaced inode
3 years ago
chrislu
93e12d5f30
fix build
3 years ago
chrislu
f9d33f70b0
return fuse.Status when looking up by inode
3 years ago
chrislu
49b84b6e2a
list entries while reading from remote
3 years ago
chrislu
22739c653a
clean up
3 years ago
chrislu
65bfeafb5a
add back mkdir
3 years ago
chrislu
37e8fce841
clean up cache on exit
3 years ago
chrislu
1560ec7e26
remove unused code
3 years ago
chrislu
17ac5244c3
mount2: avoid double listing directories
3 years ago
chrislu
fe57a2e770
file set attribute
3 years ago
chrislu
dbeeda8123
listen for metadata updates
3 years ago
chrislu
2b955c1713
support read
3 years ago
chrislu
bb9919b07a
add open release, refactor
3 years ago
chrislu
3d93570979
supports forget
3 years ago
chrislu
7cfbf1e85f
fix ok status
3 years ago
chrislu
72faae91e1
implement read directory and read directory plus
3 years ago
chrislu
f4d88862c4
can attr root directory
3 years ago
chrislu
180445f5a8
change to use fuse file system
3 years ago
chrislu
45a0fda9bd
need to follow https://github.com/hanwen/go-fuse/blob/master/fuse/api.go
3 years ago
chrislu
f87da798a4
to be re-written following fuse virtual file system
3 years ago
chrislu
9a913457dd
supports stats
3 years ago
chrislu
b6143de52a
mount with name
3 years ago
chrislu
c3f9d9fa2e
initial setup
3 years ago