chrislu
1bd6d289d4
better locking on file handle
3 years ago
chrislu
fec8428fd8
POSIX: different inode for same named different file types
3 years ago
chrislu
2dcb8cb93b
POSIX: ensure file and directory inodes are different
this is just an in memory representation.
POSIX wants different inode numbers for the same named file or directory.
3 years ago
chrislu
cbc055dc2b
mount: file fsync
fix https://github.com/chrislusf/seaweedfs/issues/2561
3 years ago
chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
3 years ago
chrislu
4fd29dad86
remove writeOnly flag
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
byunghwa.yun
775dfbae85
Synchronize number of open files
3 years ago
Chris Lu
e00443a940
mount: adjust starting order
avoid possible nil wfs.Server
4 years ago
Patrick Schmidt
77100754e6
Return artificial . and .. directories
4 years ago
Chris Lu
2f136a04a1
organize a bit better for temp file directory
4 years ago
Chris Lu
f37a4cbd0f
randomize initial filer
4 years ago
Chris Lu
dc1309f084
FUSE mount: support multiple filers
fix https://github.com/chrislusf/seaweedfs/issues/2015
fix https://github.com/chrislusf/seaweedfs/issues/1531
4 years ago
Chris Lu
59ace54925
refactor
4 years ago
Chris Lu
735e65be17
refactor
4 years ago
Chris Lu
55a8f57381
go fmt
4 years ago
Chris Lu
38f411219a
mount: skip local chunk cache if opened write only
4 years ago
Chris Lu
3a86d4dbfd
mount: fix directory invalidation
fix https://github.com/chrislusf/seaweedfs/issues/2038
4 years ago
Chris Lu
6cbd786db9
correctly runs git clone
4 years ago
Chris Lu
d9a2a7f1c4
WIP
no memory issue
if some directory is removed, it may have this error
$ rm -Rf ~/tmp/m2/s1
rm: fts_read: Device not configured
4 years ago
Chris Lu
54410ca955
cleaner way to set readonly
4 years ago
Chris Lu
c83ab91e2e
remove unused variable
4 years ago
Chris Lu
1adc8f86ea
lighten up File object
file.entry only exists when file.isOpen
4 years ago
Chris Lu
c04b7e106f
mount: remove entry from Dir object
4 years ago
Chris Lu
ca0f07a188
move file reader, entryViewCache to file handle
reduce file object size
4 years ago
Chris Lu
0f64f5b9c8
mount: add readOnly option
fix https://github.com/chrislusf/seaweedfs/issues/1961
4 years ago
Chris Lu
bdf2ddddfd
revert to same implementation as before
This reverts commit 7e8edc3c4a
.
4 years ago
Chris Lu
7e8edc3c4a
refactoring
4 years ago
Chris Lu
69694a17be
reverting 7d57664c2d
4 years ago
Chris Lu
35d939a1d2
go fmt
4 years ago
Chris Lu
7d57664c2d
mount: internals switch to filer.Entry instead of protobuf
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
a0e84c4fbc
go fmt
4 years ago
Chris Lu
19295600f9
mount: change option name to volumeServerAccess, with publicUrl and filerProxy modes
4 years ago
Chris Lu
3a1d3d3413
mount: properly invalidate kernel node cache entry
fix https://github.com/chrislusf/seaweedfs/issues/1752
4 years ago
Chris Lu
62ebb917e0
mount: avoid the need to specify different cache directory for different mount
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/11
4 years ago
Chris Lu
00707ec00f
mount: outsideContainerClusterMode proxy through filer
Running mount outside of the cluster would not need to expose all the volume servers to outside of the cluster. The chunk read and write will go through the filer.
4 years ago
Chris Lu
6ca10725b8
Revert "mount: when outside cluster network, use filer as proxy to access volume servers"
This reverts commit 096e088d7b
.
4 years ago
Chris Lu
096e088d7b
mount: when outside cluster network, use filer as proxy to access volume servers
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago
Chris Lu
e9cd798bd3
adding volume type
4 years ago
Chris Lu
8826601be1
mount: optional limit for the number of concurrent writers
4 years ago
Chris Lu
6135cbaa02
clear file.entry
4 years ago
Chris Lu
02dc51b1ed
properly clear out the file.entry
4 years ago
Chris Lu
e71463a9eb
mount: invalide file cache when metadata is changed
4 years ago
Chris Lu
10a4a628e9
refresh cached file entry from sync metadata updates
4 years ago
Chris Lu
b18f21cce1
mount: fix bound tree with filer.path
fix https://github.com/chrislusf/seaweedfs/issues/1528
4 years ago
Chris Lu
d77e3c96e9
FUSE: use the mount directory permissions
4 years ago
Chris Lu
31fc7bb2e1
refactor
adjust for faster test
4 years ago