chrislu
65bfeafb5a
add back mkdir
3 years ago
chrislu
37e8fce841
clean up cache on exit
3 years ago
chrislu
1560ec7e26
remove unused code
3 years ago
chrislu
5e814afe88
blocks count
3 years ago
chrislu
62d815d1ca
use limited in memory buffer instead of swap file
3 years ago
chrislu
7328962009
revert "POSIX: should not delete if a directory is not empty"
revert 0c75f15062
Reported:
Hi, about commit: 0c75f15062
POSIX: should not delete if a directory is not empty
It should still delete with a command like rm -rf "${path}"/ because it is a forced delete, but now it gets fail to delete non-empty folder: [...]
Can you enable the delete if it is forced?
3 years ago
chrislu
3bba2124ef
use a sliding window of in-memory writable chunks
3 years ago
chrislu
520591e6ea
reset swap file chunk after uploading
3 years ago
chrislu
bb6854b972
adjust log
3 years ago
chrislu
2bdd737971
rename file
3 years ago
chrislu
643bbbeb49
rename
3 years ago
chrislu
18ed06b420
use memory when under 16 chunks
3 years ago
chrislu
8e80f3cd65
move upload pipeline locking to a different file
3 years ago
chrislu
dde34fa99d
rename
3 years ago
chrislu
a2aa542370
rename
3 years ago
chrislu
c376ccc5a5
swap file based random write large file upload
3 years ago
chrislu
1ee828b768
refactor
do not expose internal offset
3 years ago
chrislu
02d0c12cdd
rename
3 years ago
chrislu
5dea5c0449
refactor
3 years ago
chrislu
8aa6bf0bb9
refactoring
3 years ago
chrislu
d97bd54e63
just refactoring
3 years ago
chrislu
482014f9da
rename file
3 years ago
chrislu
3b4a9addaf
rename
3 years ago
chrislu
4acfc098e9
re-order
3 years ago
chrislu
9274557552
keep dirty pages based on temp file
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
047446d5ca
remove extra async execution
3 years ago
chrislu
7bf7af971b
more logs
3 years ago
chrislu
fc22071a2f
more logs
3 years ago
chrislu
381f4e73a0
delete actual reference first
3 years ago
chrislu
0ba88596e8
invalidate filehandle entry view cache
3 years ago
chrislu
1734017ba1
add test
3 years ago
chrislu
77d9993f38
remove unused variables
3 years ago
chrislu
f710d5ffca
a little speed up
3 years ago
chrislu
fc0628c038
working
3 years ago
chrislu
1bd6d289d4
better locking on file handle
3 years ago
chrislu
fe5b9e39cc
POSIX: check permission when removing items
3 years ago
chrislu
f2847f1266
POSIX: check deletion permission
3 years ago
chrislu
0c75f15062
POSIX: should not delete if a directory is not empty
3 years ago
chrislu
d400a11832
POSIX: adjust source file ctime
SeaweedFS uses mtime as ctime
3 years ago
chrislu
b44f05a2d0
POSIX: change timestamp on each attribute change
3 years ago
chrislu
fec8428fd8
POSIX: different inode for same named different file types
3 years ago
chrislu
caf0a3486b
POSIX: adjust ctime for file truncate
3 years ago
chrislu
6cc92817dc
add logs for request mode
3 years ago
chrislu
cd1ad88f30
POSIX: check name is too long ENAMETOOLONG
3 years ago
chrislu
2dcb8cb93b
POSIX: ensure file and directory inodes are different
this is just an in memory representation.
POSIX wants different inode numbers for the same named file or directory.
3 years ago
chrislu
10ecf80ca1
add a debug capability to list all metadata keys
3 years ago