Chris Lu
d60bcbf08a
sorting chunks
2020-08-23 00:00:36 -07:00
Chris Lu
ae9bc4a508
logs
2020-08-18 23:42:26 -07:00
Chris Lu
ed4b43b419
adjust logs
2020-08-18 23:42:09 -07:00
Chris Lu
5d80fc2ec7
adjust logs
2020-08-15 21:09:31 -07:00
Chris Lu
e0bfd3161a
update metadata only if changed
2020-08-15 19:56:24 -07:00
Chris Lu
003d48da21
adjust logs
2020-08-15 19:55:28 -07:00
Chris Lu
6ee8d952d2
adjust log level
2020-08-15 18:24:35 -07:00
Chris Lu
0d60e67816
ensure meta data changes are updated
2020-08-15 14:15:07 -07:00
Chris Lu
c647deace1
file size support set file length
...
use Attr.FileSize and TotalChunkSize to determine file size
2020-08-15 09:32:47 -07:00
Chris Lu
edfa73782f
adjust log level
2020-08-14 00:22:21 -07:00
Chris Lu
e74dc4e4bc
add back fs node cache for renaming
2020-08-09 21:56:09 -07:00
Chris Lu
5788f1f6bf
remove fsnode cache
...
fix https://github.com/chrislusf/seaweedfs/issues/1400
2020-07-24 09:25:54 -07:00
Chris Lu
97d97f3528
go code can read and write chunk manifest
2020-07-19 17:59:43 -07:00
Chris Lu
95a1860d65
remove empty calls for list cache
2020-06-28 10:25:54 -07:00
Chris Lu
9033a7d369
removed async option
2020-06-28 10:18:32 -07:00
Chris Lu
1bb8cae65d
reverting and working
2020-06-28 10:14:17 -07:00
Chris Lu
3cec4b3c49
FUSE mount: fix file id written twice?
...
fix https://github.com/chrislusf/seaweedfs/issues/1373
2020-06-25 20:11:49 -07:00
Chris Lu
628b27ef3b
purge old cache implementation
2020-06-11 01:50:00 -07:00
Chris Lu
47234760f4
log adjust format
2020-05-02 01:33:49 -07:00
Chris Lu
5d0e1d8d74
also writes to local meta cache
...
before waiting for subscribed meta events
2020-04-22 15:40:47 -07:00
Chris Lu
54768d0761
fix: delete a file and then create a directory with the same name
2020-03-29 01:39:48 -07:00
Chris Lu
d1439c5bd3
fix FUSE read for large files
...
FUSE expects ReadAt do not return partial filled buffer with a nil error.
2020-03-27 04:50:51 -07:00
Chris Lu
7f0d87b206
tree structured fs cache
...
FsCache for FsNode, wrapping fs.Node
2020-03-26 00:08:14 -07:00
Chris Lu
2e4fadd10a
fix fscache move
2020-03-25 22:19:19 -07:00
Chris Lu
c0f0fdb3ba
refactoring
2020-03-23 00:01:34 -07:00
Chris Lu
0bf148f49d
logging
2020-03-22 16:19:00 -07:00
Chris Lu
65d2ea9fb0
FUSE mount: stream read data with buffer
...
fix https://github.com/chrislusf/seaweedfs/issues/1244
2020-03-22 01:00:36 -07:00
Chris Lu
892e726eb9
avoid reusing context object
...
fix https://github.com/chrislusf/seaweedfs/issues/1182
2020-02-25 21:50:12 -08:00
Chris Lu
72a64a5cf8
use the same context object in order to retry
2020-01-26 14:42:11 -08:00
Chris Lu
90e30c0170
log
2020-01-25 00:32:18 -08:00
Chris Lu
2f75264ec7
mount: avoid use uint64 for greater than zero test
2020-01-23 22:12:57 -08:00
Chris Lu
c2e589f202
mount: better combines connected intervals to write to volume servers
2020-01-22 23:00:04 -08:00
Chris Lu
66ded8804a
adjust logging
2020-01-22 15:37:59 -08:00
Chris Lu
6b48d246a5
mount: read data that is just written
...
able read on data not flushed
multiple file open shares the same file handle
fix https://github.com/chrislusf/seaweedfs/issues/1182 on linux
2020-01-22 13:42:03 -08:00
Chris Lu
a990ef2106
mount: fix problems found in issue 1182
...
fix https://github.com/chrislusf/seaweedfs/issues/1182
always use the non-duplicated fs.Node
Forget() the fs.Node
Rename will also use the right fs.Node
Avoid using the same file handle for the same file
2020-01-20 20:21:01 -08:00
Chris Lu
630f72f8c5
mount: able to trim a file
2020-01-20 00:00:08 -08:00
Chris Lu
1b0bfbaf59
refactoring
2020-01-19 23:59:46 -08:00
Chris Lu
6a40c688e0
mount: modify file size
2020-01-19 12:07:04 -08:00
Chris Lu
39edcfde4c
filer: set inode
...
avoid "getcwd: No such file or directory"
2020-01-19 12:06:19 -08:00
Chris Lu
c42b023960
mount: invalidate xattr
2019-12-17 20:38:56 -08:00
Chris Lu
5961e0d9eb
fix logging
2019-12-15 22:24:06 -08:00
Chris Lu
33b4b1868b
mount: support extended attributes
2019-12-15 21:07:01 -08:00
Chris Lu
de3eb7c380
update cache if updating the attributes
2019-12-13 11:14:09 -08:00
Chris Lu
deb249736e
fix nill
2019-12-13 10:35:23 -08:00
Chris Lu
05c3b795dc
filer: configurable directory list cache size
2019-12-13 10:05:43 -08:00
Chris Lu
d0ce5b020b
logging
2019-06-21 12:05:00 -07:00
Chris Lu
b30c14b631
webdav: can read now
2019-05-03 00:24:35 -07:00
Chris Lu
55bab1b456
add context.Context
2019-03-15 17:20:24 -07:00
Chris Lu
2ec6a679c2
avoid "fchmod failed" during cp
2019-02-15 10:00:27 -08:00
Chris Lu
e70f740deb
set file attributes
...
fix https://github.com/chrislusf/seaweedfs/issues/847
2019-01-24 19:38:04 -08:00
Chris Lu
be9a7592a1
incrementally calculate visible intervals
2019-01-05 22:23:44 -08:00
Chris Lu
fe50224ea0
refactoring
2019-01-05 15:21:56 -08:00
Chris Lu
d9f9aca453
refactoring
2019-01-05 15:16:39 -08:00
Chris Lu
aac11fb832
reduce directory list cache usage
2019-01-03 22:21:39 -08:00
Chris Lu
832ac8129a
reduce pointer usage
2018-12-31 15:10:14 -08:00
Chris Lu
0388d421d2
caching visible intervals for read
...
speeds up 4x in single thread mode
speeds up 30% in 32 threads mode
2018-12-30 00:51:44 -08:00
Chris Lu
d7bf6c5b91
switching_to_seaweedfs_fuse
2018-12-29 10:31:36 -08:00
Chris Lu
a8af1e3f5f
set attributes include crtime
2018-12-28 22:37:18 -08:00
Chris Lu
79168ab0bb
adjust error and log
2018-12-28 15:10:23 -08:00
Chris Lu
cbd94b18a5
improve "ls -al" performance for large directory
2018-11-08 07:37:34 -08:00
Chris Lu
ed8efb5aef
much improved "ls -al" performance
2018-11-07 11:35:13 -08:00
Chris Lu
9db53cf256
use the configurable chunk size
2018-10-14 00:18:52 -07:00
Chris Lu
3ddcd87098
increase weed mount IO perforance
2018-10-14 00:10:17 -07:00
Chris Lu
f7ff84f17f
Revert "smalller block size for better accuracy"
...
This reverts commit 97ecd20fc9
.
2018-09-27 09:42:24 -07:00
Chris Lu
97ecd20fc9
smalller block size for better accuracy
2018-09-27 09:39:17 -07:00
Chris Lu
f53632a84b
add block size for linux du
...
du already working on Mac
2018-09-27 09:33:36 -07:00
Chris Lu
402ab598b6
go fmt
2018-09-22 00:12:10 -07:00
Chris Lu
7bb62b9f21
delay file creation without chunks from dir.Create to file.Flush
2018-09-22 00:11:46 -07:00
Chris Lu
97575e7185
do not set attributes if the file is still open
2018-09-16 12:37:06 -07:00
Chris Lu
13e5541e17
FUSE can change file or folder attributes
...
FUSE can change file or folder attributes
2018-07-19 02:17:36 -07:00
Chris Lu
e755540be9
fix caching during directory listing
2018-06-06 22:55:59 -07:00
Chris Lu
daabdfe357
remove nodemap, fix directory listing cache
2018-06-06 22:48:51 -07:00
Chris Lu
6816661b0f
fixed file handle by file full path
2018-06-06 02:09:57 -07:00
Chris Lu
299312c805
use separate filer grpc port
2018-06-05 23:37:41 -07:00
Chris Lu
4e3ea49cff
properly working local write buffer
2018-05-29 01:21:21 -07:00
Chris Lu
d0b238d2db
cache local writes before flushing to volume server
2018-05-28 12:30:17 -07:00
Chris Lu
458ada173e
go fmt
2018-05-27 11:52:26 -07:00
Chris Lu
ac66c133a5
do not read attributes when file is opened
2018-05-25 01:27:21 -07:00
Chris Lu
6d1bcd4b8c
use existing attributes instead of fetching from filer
2018-05-25 01:22:31 -07:00
Chris Lu
0a223838bd
refactoring
2018-05-25 00:57:25 -07:00
Chris Lu
9f4f8de9ad
skip printout
2018-05-24 23:20:12 -07:00
Chris Lu
849b6ec28d
seems editing already working
...
Need to handle multiple chunks read.
Need to cache local file changes.
2018-05-23 20:55:24 -07:00
Chris Lu
536559f62d
copy works, edit somehow still fails
2018-05-23 03:08:46 -07:00
Chris Lu
873868cc10
not working now
...
need to add file handler
2018-05-22 04:31:44 -07:00
Chris Lu
7362de9a18
weed mount can work well
...
TODO: somehow filer url is returning empty content
2018-05-22 03:26:38 -07:00
Chris Lu
9dd228747c
filer copy added uid/gid
2018-05-21 01:25:30 -07:00
Chris Lu
f07482382b
able to update file content
...
having some issue when vi reports file changed.
2018-05-21 00:00:28 -07:00
Chris Lu
7ca5052942
create files correctly!
2018-05-19 13:51:44 -07:00
Chris Lu
e31c514b00
adding modified time to file chunk
2018-05-16 00:54:44 -07:00
Chris Lu
6bf31467c7
adding empty fsync
...
less error now. But still:
vi on write: E514: write error (file system full?)
cp: Input/output error
2018-05-16 00:54:27 -07:00
Chris Lu
b303a02461
cp file can work
...
1. consolidate to filer_pb.FileChunk
2. dir add file, mkdir
3. file flush, write
updates having issue
2018-05-16 00:08:44 -07:00
Chris Lu
58954bf46f
pass file attributes from filer to mount
2018-05-14 02:02:17 -07:00
Chris Lu
9f345da20f
mv filer proto to filer_pb
2018-05-09 23:18:02 -07:00
Chris Lu
43a69d20bf
change filer API to gRPC
2018-05-08 01:59:43 -07:00
Chris Lu
b857cf9d9b
format
2018-05-05 23:39:29 -07:00
Chris Lu
456738ba64
refactoring fuse
2018-05-05 22:47:16 -07:00