chrislu
bb6854b972
adjust log
3 years ago
chrislu
b2acfd75e9
ensure entry view cache is invalidated
3 years ago
chrislu
f4ad63528a
wait for reading threads to complete before dropping sealed chunks
3 years ago
chrislu
0a3f95ca01
more logs
3 years ago
chrislu
b068bc291d
testing with always resetting entry view cache
3 years ago
chrislu
fc22071a2f
more logs
3 years ago
chrislu
0ba88596e8
invalidate filehandle entry view cache
3 years ago
chrislu
77d9993f38
remove unused variables
3 years ago
chrislu
1bd6d289d4
better locking on file handle
3 years ago
chrislu
2422556456
monitor write pattern: avoid timing due to locking
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
eb4ad2546f
use proper chunk size limit option
3 years ago
chrislu
41bbf320bb
use 2MB chunk size. cache size is the wrong option
3 years ago
chrislu
083d8e9ece
add stream writer
this should improve streaming write performance, which is common in many cases, e.g., copying large files.
This is additional to improved random read write operations: 3e69d19380
...19084d87918f297cac15e2471c19306176e0771f
3 years ago
chrislu
032df784ed
chunked file works now
3 years ago
chrislu
9a73319b45
mount: different write strategy for streaming write and random write
3 years ago
chrislu
4fd29dad86
remove writeOnly flag
3 years ago
chrislu
bc96682760
refactor, change file locations
3 years ago
chrislu
866c2657f0
avoid FUSE cache only for the first 512 bytes
3 years ago
chrislu
a152f17937
mount: improve read performance on random reads
3 years ago
byunghwa.yun
775dfbae85
Synchronize number of open files
3 years ago
Chris Lu
69655ba8e5
mount: cache on reading remote storage
3 years ago
Chris Lu
7ab389e7ec
optimization: improve random range query for large files
3 years ago
Chris Lu
055374a50b
FUSE: skip flushing if file is deleted
related to https://github.com/chrislusf/seaweedfs/issues/2110
4 years ago
Chris Lu
1737af480a
adjust logs
4 years ago
Chris Lu
d06ecc2649
working properly
4 years ago
Chris Lu
55d547afec
switch back to in memory uploading for now
4 years ago
Chris Lu
f4cf30b497
mount: write to tmp file before uploading
4 years ago
Chris Lu
59ace54925
refactor
4 years ago
Chris Lu
50be19d23e
refactor
4 years ago
Chris Lu
55e060cf61
refactor
4 years ago
Chris Lu
735e65be17
refactor
4 years ago
Chris Lu
93e84a12f2
refactor
4 years ago
Chris Lu
38f411219a
mount: skip local chunk cache if opened write only
4 years ago
Chris Lu
11c405fc85
ensure file handles are released
4 years ago
Chris Lu
6cbd786db9
correctly runs git clone
4 years ago
Chris Lu
54410ca955
cleaner way to set readonly
4 years ago
Chris Lu
1adc8f86ea
lighten up File object
file.entry only exists when file.isOpen
4 years ago
Chris Lu
ca0f07a188
move file reader, entryViewCache to file handle
reduce file object size
4 years ago
Chris Lu
93f4146ffa
properly release the view cache
4 years ago
Chris Lu
6deb647a8f
mount: fix possible memory leak
if many files are read repeatedly, their metadata are accumulated in memory. This fix cleared the metadata after the file is read.
4 years ago
Chris Lu
0f64f5b9c8
mount: add readOnly option
fix https://github.com/chrislusf/seaweedfs/issues/1961
4 years ago
Chris Lu
3cbc40fa48
avoid creating multiple reader
4 years ago
Chris Lu
288369cfc7
mount: release resources when Forget() is called
address https://github.com/chrislusf/seaweedfs/issues/1929
4 years ago
Chris Lu
69694a17be
reverting 7d57664c2d
4 years ago
Chris Lu
7d57664c2d
mount: internals switch to filer.Entry instead of protobuf
4 years ago
Chris Lu
aba47fd9e8
reduce repeated calls to dir.FullPath()
4 years ago
Chris Lu
5ba4b479f8
properly lock file.entry object
fix https://github.com/chrislusf/seaweedfs/issues/1882
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