chrislu
eb058e931a
add file size
3 years ago
chrislu
d2cd6a6f6e
adjust logs
3 years ago
chrislu
50d9383c3b
adjust logging
3 years ago
chrislu
cbffbd9025
fix
3 years ago
chrislu
ab61386d29
fix checking
3 years ago
chrislu
4d06e18554
fix compilation
3 years ago
chrislu
cb25d100b7
add debug zero
3 years ago
chrislu
fd83009c05
add debug message when only zeros are copied
3 years ago
chrislu
fcf5b6cc93
delete only when not used
3 years ago
chrislu
1dc25218cd
delay deleting from memory unless the metadata chunks is updated
3 years ago
chrislu
2c95008a1a
Revert "temp"
This reverts commit 98e11895de
.
3 years ago
chrislu
98e11895de
temp
3 years ago
chrislu
8f9d1c1e3c
upload only not flushed chunks
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
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