Patrick Schmidt
a73e177ecf
Add an End-to-End workflow for FUSE mount ( #3562 )
* Add an e2e workflow to test FUSE mount
* Fix deadlocks during concurrent r/w
2 years ago
Patrick Schmidt
00041f6e08
Fix corrupted mount reads after changes on fh ( #3536 )
2 years ago
chrislu
301b49b63f
atomic operation
2 years ago
Patrick Schmidt
5df105b1f9
Fix a few data races when reading files in mount ( #3527 )
2 years ago
askeipx
2e78a522ab
remove old raft servers if they don't answer to pings for too long ( #3398 )
* remove old raft servers if they don't answer to pings for too long
add ping durations as options
rename ping fields
fix some todos
get masters through masterclient
raft remove server from leader
use raft servers to ping them
CheckMastersAlive for hashicorp raft only
* prepare blocking ping
* pass waitForReady as param
* pass waitForReady through all functions
* waitForReady works
* refactor
* remove unneeded params
* rollback unneeded changes
* fix
2 years ago
Patrick Schmidt
cda8cc22bc
Implement lseek syscall in FUSE ( #3491 )
See the man page of lseek:
https://man7.org/linux/man-pages/man2/lseek.2.html
2 years ago
Patrick Schmidt
f875031f06
Reuse readDataByFileHandle in Read call ( #3482 )
2 years ago
chrislu
8bac903d29
mount: add locking to prevent nil pointer
fix https://github.com/seaweedfs/seaweedfs/issues/3479
2 years ago
chrislu
7807f6641a
minor
2 years ago
chrislu
63fbf281c7
remove same file copying rage limitation
2 years ago
Patrick Schmidt
3a75d7f7aa
Implement copy_file_range syscall in FUSE ( #3475 )
See the man page of copy_file_range:
https://man7.org/linux/man-pages/man2/copy_file_range.2.html
2 years ago
chrislu
8b3429858d
align memory for atomic read/write
2 years ago
Patrick Schmidt
2ef6ab998c
Avoid race conditions with current filer address ( #3474 )
When multiple filer requests are in-flight and the current filer
disappears and a new one is selected by the first goroutine, then
there can be a lot of race conditions while retrieving the current
filer.
Therefore, load/save the current filer index atomically.
2 years ago
chrislu
409f39390d
mount: retryable data chunk uploading
2 years ago
chrislu
689b4ecdcc
remove unused collection and replication from upload result
2 years ago
chrislu
ae93c966d9
ensure memory is aligned
fix https://github.com/seaweedfs/seaweedfs/issues/3427
2 years ago
chrislu
662ec97602
mount: adjust on du stats reporting
fix https://github.com/seaweedfs/seaweedfs/issues/3424
2 years ago
chrislu
d8e69df295
adjust comments
2 years ago
chrislu
0aeec04c31
quicker to adapt to pattern change
2 years ago
chrislu
8a880a139d
mount: fix truncate operation
fix https://github.com/seaweedfs/seaweedfs/issues/2609
2 years ago
chrislu
b278bb24d3
mount: adjust df stats reporting when close to the limit
fix https://github.com/seaweedfs/seaweedfs/issues/3407
2 years ago
Konstantin Lebedev
4d08393b7c
filer prefer volume server in same data center ( #3405 )
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
2 years ago
chrislu
bd13a7968f
remove unused symlink resolving
2 years ago
chrislu
88945d9954
mount: do not follow soft link with xattr
2 years ago
chrislu
303bd067b5
Revert "rename: delete source entry metadata only, skipping hard links"
This reverts commit 03466f955e
.
fix https://github.com/seaweedfs/seaweedfs/issues/3386
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
89e276de64
fix loop
2 years ago
chrislu
e0eda52c54
mount: ensure symlink parent directory is tracked
fix https://github.com/chrislusf/seaweedfs/issues/3373
2 years ago
chrislu
f401b996eb
mount: fix symlink size reporting
2 years ago
chrislu
b98c0b4bf4
disable symlink translation for now
2 years ago
chrislu
2dc5d4adac
disable symlink translation for now
2 years ago
chrislu
2b64916d3e
set status to fuse.OK
2 years ago
chrislu
7386cf6a06
mount: resolve symlink
2 years ago
chrislu
40089b6753
maintain node lookup counter
2 years ago
chrislu
d24db396cc
fix removing path from inode2path
2 years ago
chrislu
41eeb4deef
do not add new inode during link
2 years ago
chrislu
02c2d81cde
fix removePathFromInode2Path
2 years ago
chrislu
4d5dc55766
mount: better support hard links
2 years ago
chrislu
ebda0689ab
use linux default max name length
2 years ago
chrislu
64f3d6fb6e
metadata subscription uses client epoch
2 years ago
chrislu
2c8818351f
mount: comment out stuck fuse inode notify during renaming
2 years ago
chrislu
a5c94acd4f
mount: check possible nil entry case
2 years ago
chrislu
6147b61b0a
mount: fix concurrent map read and map write
fix https://github.com/chrislusf/seaweedfs/issues/3344
2 years ago
chrislu
289402a741
writer pattern: similar changes to reader pattern
2 years ago
chrislu
578c8aea0e
typo
2 years ago
chrislu
3d0defa663
fix compilation
2 years ago
chrislu
6f00c7f061
comments
2 years ago
chrislu
d685b94102
mount: rename also invalidate source inode
2 years ago
chrislu
e2ecf137a2
fix resetting fh.reader
2 years ago
chrislu
05c53820b9
mount: file handler release memory
3 years ago