Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
712b3e9e53
mount: release need to avoid nil reader
fix https://github.com/chrislusf/seaweedfs/issues/1803
4 years ago
Chris Lu
0604afcda7
mount: remove unnecessary flush on release
4 years ago
Chris Lu
a0e84c4fbc
go fmt
4 years ago
Chris Lu
d475c89fcc
go fmt
4 years ago
Chris Lu
19295600f9
mount: change option name to volumeServerAccess, with publicUrl and filerProxy modes
4 years ago
Chris Lu
990fa69bfe
add back AdjustedUrl() related code
4 years ago
Chris Lu
cf252fc0cd
mount: report error when Flush()
The error in Release() is not working.
See https://github.com/jaderhs/libfuse/blob/master/FAQ
related to https://github.com/chrislusf/seaweedfs/issues/1765
4 years ago
Chris Lu
b81956bcb5
mount: invalidate kernel cache when mounted to a filer path
fix https://github.com/chrislusf/seaweedfs/issues/1752#issuecomment-768178422
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
9bcb28a3ea
avoid possible nil reader
fix https://github.com/chrislusf/seaweedfs/issues/1754
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
20ef3bb8d4
mount: use direct_io to avoid OS page cache
fix https://github.com/chrislusf/seaweedfs/issues/1752
4 years ago
Chris Lu
e439b65e38
fix test
4 years ago
Chris Lu
5a3386e39b
Revert "Revert "mount: fake support for socket/block/character/fifo devices""
This reverts commit 3d5cb7eb86
.
4 years ago
Chris Lu
67faa56920
Revert "Revert "mount: add more entry type""
This reverts commit 4085b79d38
.
4 years ago
Chris Lu
7119e7b491
mount: ensure reading from dirty pages
4 years ago
Chris Lu
4085b79d38
Revert "mount: add more entry type"
This reverts commit d7d907be27
.
4 years ago
Chris Lu
3d5cb7eb86
Revert "mount: fake support for socket/block/character/fifo devices"
This reverts commit 61ef2d8658
.
4 years ago
Chris Lu
61ef2d8658
mount: fake support for socket/block/character/fifo devices
to pass pjdfstest. A distributed file system can not really support these things anyway.
4 years ago
Chris Lu
d7d907be27
mount: add more entry type
4 years ago
Chris Lu
a4063a5437
add stream list directory entries
4 years ago
Chris Lu
f002e668de
change limit to int64 in case of overflow
4 years ago
Chris Lu
9a50dbcda0
chagned api
4 years ago
Chris Lu
d0826c2f62
mount: avoid showing "topics" folder
fix https://github.com/chrislusf/seaweedfs/issues/1325
4 years ago
Chris Lu
38d516251e
Revert "mount: avoid fatal error"
This reverts commit a4f0bac9b7
.
4 years ago
Chris Lu
a4f0bac9b7
mount: avoid fatal error
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
3fedfec1e7
check cross device rename error
4 years ago
Chris Lu
4211601eab
set file handle reader to nil
4 years ago
Chris Lu
8e78187a97
add back last read chunk cache to reader and properly close the reader
4 years ago
Chris Lu
f4abd01adf
filer: cache small file to filer store
4 years ago
Chris Lu
1ae108efca
add debug message
4 years ago
Chris Lu
0ea5c087ce
go fmt
4 years ago
Chris Lu
06ee199ef3
ensure entryViewCache is in sync with the chunks
4 years ago
Chris Lu
b132cb893f
in case some chunks modified earliar are added later
4 years ago
Chris Lu
0ae4d7bfdf
lock "addChunks()"
4 years ago
Chris Lu
7d5db73d98
go fmt
4 years ago
Chris Lu
a9662d44ac
avoid closing chunkSaveErrChan too early
4 years ago
Chris Lu
e1423a83dd
mount: clear possible leftover entry data in memory
4 years ago
Chris Lu
8750cac090
move to util.RetryWaitTime
4 years ago
Chris Lu
4609644658
mount: remove files that may still are open
related to https://github.com/chrislusf/seaweedfs/issues/1581
4 years ago
Chris Lu
df8d976bb0
refactoring
4 years ago
Chris Lu
f7b21973ac
mount: add retry for all operations with filer
fix https://github.com/chrislusf/seaweedfs/issues/1589
4 years ago
Chris Lu
10f9f1cc26
handle mknod requests
4 years ago