Eugeniy E. Mikhailov
c04edeed68
bug fix in the data received from cache processing ( #6002 )
The patch addresses #3745 .
The cache should return the exact amount of data requested by the buffer.
By construction of the cache it is always all requested data range
or we have error happening.
The old use of minsize miscalculate the requested data size,
if non zero offset is requested.
5 months ago
chrislu
18afdb15b6
Revert "weed mount, weed dav add option to force cache"
This reverts commit 7367b976b0
.
5 months ago
chrislu
7367b976b0
weed mount, weed dav add option to force cache
5 months ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
chrislu
28b395bef4
better control for reader caching
3 years ago
chrislu
3ad5fa6f6f
chunk cache adds function ReadChunkAt
3 years ago
Nathan Hawkins
042de9359c
make reader_at handle random reads more efficiently for FUSE
4 years ago
Chris Lu
707936f482
re-enable caching larger than 16MB
revert 62ce85610e
4 years ago
Chris Lu
62ce85610e
skip caching too large chunks
4 years ago
Chris Lu
9ad2dcca2b
more tests
4 years ago
Chris Lu
31fc7bb2e1
refactor
adjust for faster test
4 years ago
Chris Lu
a41588279a
change log level 5 to 4
4 years ago
Chris Lu
09e126bae5
refactoring: use interface
5 years ago
Chris Lu
be4d42b8e2
rename
5 years ago
Chris Lu
97e54a80d4
rename variables
5 years ago
Chris Lu
003d48da21
adjust logs
5 years ago
Chris Lu
bef356ce4c
since we already know the chunk size, no need to iterate
5 years ago
Chris Lu
a808b3b5df
incase the memory data is too small
5 years ago
Chris Lu
3dbd51c3c2
a little bit more efficient
5 years ago
Chris Lu
212b6e7d42
error logging
5 years ago
Chris Lu
3cec4b3c49
FUSE mount: fix file id written twice?
fix https://github.com/chrislusf/seaweedfs/issues/1373
5 years ago
Chris Lu
2b5c4fbbf3
tiered caching
1/4 for small less than 1MB files. 1/4 for 1~4MB files, 1/2 for bigger than 4MB files
5 years ago
Chris Lu
f282ed444b
refactoring
5 years ago
Chris Lu
7764e0465c
refactoring
5 years ago
Chris Lu
94e35cdb35
mount: fix
fix bug found by git bisect, but I do not understand why it can cause error!
5 years ago
Chris Lu
2a1f396df5
avoid duplicated setting chunks into cache
5 years ago
Chris Lu
b9b7da905e
handle nil chunk cache
5 years ago
Chris Lu
df97da25f9
mount: add on disk caching
5 years ago
Chris Lu
d7f3acb2c0
refactor
5 years ago
Chris Lu
e909b55633
refactoring
5 years ago
Chris Lu
a75d50bbb8
FUSE: add configurable in memory chunk cache size
5 years ago
Chris Lu
826bc0b7e3
FUSE: add chunk cache for recently accessed file chunks
5 years ago