Chris Lu
fa0dab6029
mount: rename also recursively move file handles
related to https://github.com/chrislusf/seaweedfs/issues/2169
4 years ago
Chris Lu
b624090398
go fmt
4 years ago
Chris Lu
215b169562
mount: recursively rename locally
4 years ago
Chris Lu
c795183887
return node itself as directory handler
4 years ago
Chris Lu
07f20155fd
small optimization
4 years ago
Chris Lu
055374a50b
FUSE: skip flushing if file is deleted
related to https://github.com/chrislusf/seaweedfs/issues/2110
4 years ago
Chris Lu
e00443a940
mount: adjust starting order
avoid possible nil wfs.Server
4 years ago
Chris Lu
e6ba2f9c37
verbose but cleaner logic to invalidate fuse cache
4 years ago
Chris Lu
fadc1febdb
FUSE: invalidate FUSE cached entries
fix https://github.com/chrislusf/seaweedfs/issues/2108
4 years ago
Patrick Schmidt
77100754e6
Return artificial . and .. directories
4 years ago
Chris Lu
cc34475012
remove file handle locking for setattr
4 years ago
Chris Lu
3db1642392
mount: skip persisting metadata if file is open
4 years ago
Chris Lu
2f136a04a1
organize a bit better for temp file directory
4 years ago
Chris Lu
f37a4cbd0f
randomize initial filer
4 years ago
Chris Lu
dc1309f084
FUSE mount: support multiple filers
fix https://github.com/chrislusf/seaweedfs/issues/2015
fix https://github.com/chrislusf/seaweedfs/issues/1531
4 years ago
Chris Lu
789465d99e
set renamed item to new directory
related to https://github.com/chrislusf/seaweedfs/issues/2064
4 years ago
Chris Lu
83c037e093
fix logs
4 years ago
Chris Lu
5a29d284fa
ensure proper directory name
a fix related to https://github.com/chrislusf/seaweedfs/issues/2064
4 years ago
Chris Lu
3ff307e842
reduce logs
4 years ago
Chris Lu
a48ebd7c73
mount: read file when file is still being written
a possible fix for https://github.com/chrislusf/seaweedfs/issues/2065
4 years ago
Chris Lu
ceb620a30a
directory rename: change directory name after renaming
fix https://github.com/chrislusf/seaweedfs/issues/2068
4 years ago
Chris Lu
1737af480a
adjust logs
4 years ago
Chris Lu
d06ecc2649
working properly
4 years ago
Chris Lu
55d547afec
switch back to in memory uploading for now
4 years ago
Chris Lu
ba77833343
EOF handling
4 years ago
Chris Lu
f4cf30b497
mount: write to tmp file before uploading
4 years ago
Chris Lu
280e7cf289
mount: in case the set attribute is called before persisting the file
4 years ago
Chris Lu
74052064b6
add one missing optimization
4 years ago
Chris Lu
59ace54925
refactor
4 years ago
Chris Lu
50be19d23e
refactor
4 years ago
Chris Lu
55e060cf61
refactor
4 years ago
Chris Lu
735e65be17
refactor
4 years ago
Chris Lu
93e84a12f2
refactor
4 years ago
Chris Lu
8f8738867f
add retry to assign volume
fix https://github.com/chrislusf/seaweedfs/issues/2056
4 years ago
Chris Lu
55a8f57381
go fmt
4 years ago
Chris Lu
5753749c90
remove verbose logs
4 years ago
Chris Lu
38f411219a
mount: skip local chunk cache if opened write only
4 years ago
Chris Lu
2e56407c6b
fix visited checking
4 years ago
Chris Lu
3a86d4dbfd
mount: fix directory invalidation
fix https://github.com/chrislusf/seaweedfs/issues/2038
4 years ago
Chris Lu
11c405fc85
ensure file handles are released
4 years ago
Chris Lu
83cf94ad2d
delay new file creation unless file is opened exclusively
4 years ago
Chris Lu
d1c813c470
let the fuse library manage directory id
otherwise, on mac, during large directory deletion, if some ReaDirAll happens, the lib seems confused about the directories, and some child directories are not deleted.
4 years ago
Chris Lu
372872ebbf
set root node inode number
4 years ago
Chris Lu
e332da4837
set inode value
4 years ago
Chris Lu
6cbd786db9
correctly runs git clone
4 years ago
Chris Lu
d9a2a7f1c4
WIP
no memory issue
if some directory is removed, it may have this error
$ rm -Rf ~/tmp/m2/s1
rm: fts_read: Device not configured
4 years ago
Chris Lu
54410ca955
cleaner way to set readonly
4 years ago
Chris Lu
c83ab91e2e
remove unused variable
4 years ago
Chris Lu
3074e9b428
ensure consistent inode value
4 years ago
Chris Lu
16c0304416
ensure to delete on filer also
4 years ago