chrislu
2d0ccc4d34
add logs
3 years ago
chrislu
b8fbf19e9a
mount: rename follow POSIX
3 years ago
chrislu
cbc055dc2b
mount: file fsync
fix https://github.com/chrislusf/seaweedfs/issues/2561
3 years ago
chrislu
3df8f96117
avoid changing inode
3 years ago
chrislu
67b0645808
mount: need to change entry name after renaming
3 years ago
chrislu
5c87fcc6d2
add client id for all metadata listening clients
3 years ago
chrislu
f7a6f6b4c0
if this is enabled, there are some "bus error" with git clone
3 years ago
chrislu
0da2dfd640
fuse: change to direct io mode
before and after:
chrislu$ time dd if=/dev/random of=/Users/chrislu/tmp/mm/testfile bs=131072 count=8192
8192+0 records in
8192+0 records out
1073741824 bytes transferred in 4.534068 secs (236816430 bytes/sec)
dd if=/dev/random of=/Users/chrislu/tmp/mm/testfile bs=131072 count=8192 0.01s user 3.86s system 84% cpu 4.561 total
chrislu$ time dd if=/dev/random of=/Users/chrislu/tmp/mm/testfile bs=131072 count=8192
8192+0 records in
8192+0 records out
1073741824 bytes transferred in 3.824072 secs (280784948 bytes/sec)
dd if=/dev/random of=/Users/chrislu/tmp/mm/testfile bs=131072 count=8192 0.01s user 3.22s system 83% cpu 3.857 total
3 years ago
chrislu
2422556456
monitor write pattern: avoid timing due to locking
3 years ago
chrislu
80db8b13d8
bug: cleanup function was called twice
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
255a1c7dcd
refactor type names
3 years ago
chrislu
f77ca41769
refactor
3 years ago
chrislu
1d36884845
rename files
3 years ago
chrislu
2d1a1f5e03
rename variables and functions
3 years ago
chrislu
6de331b014
clean up
3 years ago
chrislu
032df784ed
chunked file works now
3 years ago
chrislu
c2aad1c7ff
detect non streaming mode on first write request
3 years ago
chrislu
7b78fc72b0
add page chunk interval list
3 years ago
chrislu
3981d65b68
remove println
3 years ago
chrislu
9a73319b45
mount: different write strategy for streaming write and random write
3 years ago
chrislu
b21a67bbe6
add writer pattern object for later use
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
liubaojiang
c7abc34dbb
rename operation returns the correct old parent path
3 years ago
Chris Lu
0c8dea9de8
go fmt
3 years ago
Chris Lu
24858507cc
rename API to avoid confusion
3 years ago
Chris Lu
cca62fdb30
mount: streaming renaming folders
3 years ago
Chris Lu
004e56c1a6
save updated lastTsNs
3 years ago
Chris Lu
93bb7869b8
Revert "mount: fix renaming a deep directory with unvisited directories"
This reverts commit 0ccdb937bb
.
3 years ago
Chris Lu
0ccdb937bb
mount: fix renaming a deep directory with unvisited directories
3 years ago
Chris Lu
7504be58f9
Avoid xattr printed out as HTTP headers
fix https://github.com/chrislusf/seaweedfs/issues/2336
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
6923af7280
refactoring
3 years ago
Chris Lu
223c1b3571
adjust invalidation logic
3 years ago
nivekuil
8c523d50ad
Invalidate mount meta cache more aggressively
3 years ago
Chris Lu
3b2c39f1be
mount: set name when mount path equals mount folder
fix https://github.com/chrislusf/seaweedfs/issues/2275#issuecomment-903255876
3 years ago
Chris Lu
c3ffd457ef
fix compilation error
3 years ago
Chris Lu
fda2fc47b1
add RetryForever
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
6b743dbbf9
refactor client subscribe metadata
3 years ago
Chris Lu
84d91f143f
mount: hide /etc folder also from mount
3 years ago
Chris Lu
7359193e97
go fmt
3 years ago
Chris Lu
7ab389e7ec
optimization: improve random range query for large files
3 years ago