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
limd
370a98cf6b
code style
4 years ago
limd
aee3fd08b9
code style
4 years ago
limd
cbca14edc5
mount: fix k8s pvc and os mount directory permission bug
4 years ago
Chris Lu
5e239afdfc
hardlink works now
4 years ago
Chris Lu
f0e325b6fc
mount: auto created directory follow umask
4 years ago
Chris Lu
7e1aad0b54
mount: map uid/gid between local and filer
4 years ago
Chris Lu
a41588279a
change log level 5 to 4
4 years ago
Chris Lu
ca658a97c5
add signatures to messages to avoid double processing
4 years ago
Chris Lu
aee27ccbe1
multiple fixes
* adjust isOpen count
* move ContinuousDirtyPages lock to filehandle
* fix problem with MergeIntoVisibles, avoid reusing slices
* let filer delete the garbage
4 years ago
Chris Lu
a78772d5ea
avoid shutdown in the middle of running
4 years ago
Chris Lu
ed4b43b419
adjust logs
4 years ago
Chris Lu
be4d42b8e2
rename
4 years ago
Chris Lu
003d48da21
adjust logs
4 years ago
Chris Lu
e74dc4e4bc
add back fs node cache for renaming
4 years ago
Chris Lu
20e2ac1add
filer: store md5 metadata for files uploaded by filer
fix https://github.com/chrislusf/seaweedfs/issues/1412
4 years ago