Chris Lu
288369cfc7
mount: release resources when Forget() is called
address https://github.com/chrislusf/seaweedfs/issues/1929
4 years ago
Chris Lu
df461402cc
ensure entry attribute is not nill
fix https://github.com/chrislusf/seaweedfs/issues/1926
4 years ago
Chris Lu
69694a17be
reverting 7d57664c2d
4 years ago
Chris Lu
c00dd5e62e
report error if entry not found
4 years ago
Chris Lu
7d57664c2d
mount: internals switch to filer.Entry instead of protobuf
4 years ago
Chris Lu
5ba4b479f8
properly lock file.entry object
fix https://github.com/chrislusf/seaweedfs/issues/1882
4 years ago
Chris Lu
bcf32591b7
reduce possibility of nil entry
4 years ago
Chris Lu
3a1d3d3413
mount: properly invalidate kernel node cache entry
fix https://github.com/chrislusf/seaweedfs/issues/1752
4 years ago
Chris Lu
00707ec00f
mount: outsideContainerClusterMode proxy through filer
Running mount outside of the cluster would not need to expose all the volume servers to outside of the cluster. The chunk read and write will go through the filer.
4 years ago
Chris Lu
6ca10725b8
Revert "mount: when outside cluster network, use filer as proxy to access volume servers"
This reverts commit 096e088d7b
.
4 years ago
Chris Lu
096e088d7b
mount: when outside cluster network, use filer as proxy to access volume servers
4 years ago
Chris Lu
20ef3bb8d4
mount: use direct_io to avoid OS page cache
fix https://github.com/chrislusf/seaweedfs/issues/1752
4 years ago
Chris Lu
0ea5c087ce
go fmt
4 years ago
Chris Lu
06ee199ef3
ensure entryViewCache is in sync with the chunks
4 years ago
Chris Lu
b132cb893f
in case some chunks modified earliar are added later
4 years ago
Chris Lu
19098f2c2d
make a copy of the filer.entry for most read operations
4 years ago
Chris Lu
6135cbaa02
clear file.entry
4 years ago
Chris Lu
0b68b68ec4
reload entry only when it is a hard link
fix https://github.com/chrislusf/seaweedfs/issues/1581
4 years ago
Chris Lu
e71463a9eb
mount: invalide file cache when metadata is changed
4 years ago
Chris Lu
91fd311f7a
fix logic to read entry or not
4 years ago
Chris Lu
10a4a628e9
refresh cached file entry from sync metadata updates
4 years ago
Chris Lu
1012df7bb5
switch hardlink id from int64 to bytes
4 years ago
Chris Lu
5e239afdfc
hardlink works now
4 years ago
Chris Lu
7e1aad0b54
mount: map uid/gid between local and filer
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago
Chris Lu
a41588279a
change log level 5 to 4
4 years ago
Chris Lu
ca658a97c5
add signatures to messages to avoid double processing
4 years ago
Chris Lu
98175548c2
adjust deletion ordering
4 years ago
Chris Lu
aee27ccbe1
multiple fixes
* adjust isOpen count
* move ContinuousDirtyPages lock to filehandle
* fix problem with MergeIntoVisibles, avoid reusing slices
* let filer delete the garbage
4 years ago
Chris Lu
77393d3d30
add file handle locking when changing file entry
4 years ago
Chris Lu
d60bcbf08a
sorting chunks
4 years ago
Chris Lu
ae9bc4a508
logs
4 years ago
Chris Lu
ed4b43b419
adjust logs
4 years ago
Chris Lu
5d80fc2ec7
adjust logs
4 years ago
Chris Lu
e0bfd3161a
update metadata only if changed
4 years ago
Chris Lu
003d48da21
adjust logs
4 years ago
Chris Lu
6ee8d952d2
adjust log level
4 years ago
Chris Lu
0d60e67816
ensure meta data changes are updated
4 years ago
Chris Lu
c647deace1
file size support set file length
use Attr.FileSize and TotalChunkSize to determine file size
4 years ago
Chris Lu
edfa73782f
adjust log level
4 years ago
Chris Lu
e74dc4e4bc
add back fs node cache for renaming
4 years ago
Chris Lu
5788f1f6bf
remove fsnode cache
fix https://github.com/chrislusf/seaweedfs/issues/1400
4 years ago
Chris Lu
97d97f3528
go code can read and write chunk manifest
4 years ago
Chris Lu
95a1860d65
remove empty calls for list cache
5 years ago
Chris Lu
9033a7d369
removed async option
5 years ago
Chris Lu
1bb8cae65d
reverting and working
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
628b27ef3b
purge old cache implementation
5 years ago
Chris Lu
47234760f4
log adjust format
5 years ago
Chris Lu
5d0e1d8d74
also writes to local meta cache
before waiting for subscribed meta events
5 years ago