chrislu
|
3ab2c0e5c0
|
avoid possible nil attributes
|
3 years ago |
chrislu
|
9d44b89c21
|
Revert "avoid possible nil attributes"
This reverts commit 0a6703c7f7 .
|
3 years ago |
chrislu
|
0a6703c7f7
|
avoid possible nil attributes
|
3 years ago |
chrislu
|
8b3d76b24d
|
prevent concurrent access during shutdown
|
3 years ago |
chrislu
|
e8d7bb42e2
|
avoid concurrent access to map object
fix https://github.com/chrislusf/seaweedfs/issues/2866
|
3 years ago |
chrislu
|
6a2bcd03aa
|
configure mount quota
|
3 years ago |
chrislu
|
958f880b70
|
mount: add grpc method to adjust quota
|
3 years ago |
chrislu
|
7542fd7f4d
|
mount: optimize a bit when writing files
|
3 years ago |
chrislu
|
bd5c5586b5
|
generate inode via path and time
|
3 years ago |
chrislu
|
5cba8e51c5
|
refactor
|
3 years ago |
chrislu
|
f2f68f675e
|
write to disk during random writes, limiting total disk spaces used
|
3 years ago |
chrislu
|
f70c1e449b
|
add useful doc link
|
3 years ago |
chrislu
|
b20ddc57a7
|
mount: return open status
|
3 years ago |
chrislu
|
b40d252761
|
mount: chmod for root
|
3 years ago |
chrislu
|
011a41b561
|
add back writes to swap file when too many in memory chunks are used.
|
3 years ago |
chrislu
|
dc204dd137
|
fix nil entry
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x1d340b4]
goroutine 130523 [running]:
github.com/chrislusf/seaweedfs/weed/filer.FileSize(...)
/code/seaweedfs/weed/filer/filechunks.go:26
github.com/chrislusf/seaweedfs/weed/mount.(*WFS).Lookup(0xc000866d80, 0x1, 0xc002897f40, {0xc004b00980, 0x39}, 0x1ec19e0)
/code/seaweedfs/weed/mount/weedfs_dir_lookup.go:59 +0x654
github.com/hanwen/go-fuse/v2/fuse.doLookup(0xc00033c000, 0xc00033c000)
/code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/opcode.go:333 +0x6b
github.com/hanwen/go-fuse/v2/fuse.(*Server).handleRequest(0xc000ab2420, 0xc00033c000)
/code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:483 +0x1f3
github.com/hanwen/go-fuse/v2/fuse.(*Server).loop(0xc000ab2420, 0x0)
/code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:456 +0x110
created by github.com/hanwen/go-fuse/v2/fuse.(*Server).readRequest
/code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:323 +0x534
|
3 years ago |
chrislu
|
3aeee3d748
|
ensure releasing file handle
|
3 years ago |
chrislu
|
8136384473
|
remove debug message
|
3 years ago |
chrislu
|
46a28b8819
|
mount: adjust disk space based on quota
|
3 years ago |
chrislu
|
f3442e36e6
|
mount: quota adjust error type to be syscall.ENOSPC
|
3 years ago |
chrislu
|
c7e8ac18f0
|
mount: quota for one mounted collection
related to https://github.com/seaweedfs/seaweedfs-csi-driver/issues/48
|
3 years ago |
chrislu
|
b7c992f410
|
add flag to enforce quota
|
3 years ago |
chrislu
|
28b8974a3a
|
mount: fix directory pagination when using midnight commander
|
3 years ago |
chrislu
|
fcf3714443
|
mount: add back support for filer.path
|
3 years ago |
chrislu
|
aad62ee148
|
mount: mark directory uncached if forgotten
|
3 years ago |
chrislu
|
554e239097
|
release file handle
|
3 years ago |
chrislu
|
3639fedd01
|
mount: fix fsync opened and renamed files
|
3 years ago |
chrislu
|
63a9d8f01d
|
ensure inodes are not duplicating unless hardlinked
|
3 years ago |
chrislu
|
de77d00c81
|
correctly clean up for a file
|
3 years ago |
chrislu
|
c3792c8352
|
remove dead code
|
3 years ago |
chrislu
|
9ef5bb20f6
|
mount2: invalidate fuse cache for replaced inode
|
3 years ago |
chrislu
|
b2a148cb4c
|
use file size as max range
|
3 years ago |
chrislu
|
101e6d80b0
|
mount2: listXattr return ok if xattr is empty
|
3 years ago |
chrislu
|
03466f955e
|
rename: delete source entry metadata only, skipping hard links
|
3 years ago |
chrislu
|
202a29d014
|
refactoring
|
3 years ago |
chrislu
|
be3fc77391
|
mount2: use consistent inode
|
3 years ago |
chrislu
|
ceaf993a27
|
mount2: add rdev
|
3 years ago |
chrislu
|
e31ec04f4f
|
mount2: POSIX deleted opened file nlink should be 0
|
3 years ago |
chrislu
|
91f0481f4e
|
mount2: SetAttr set mode correctly
|
3 years ago |
chrislu
|
b93d57da31
|
mount2: dir read opened file
|
3 years ago |
chrislu
|
63062ed7f0
|
mount2: fix unlink
|
3 years ago |
chrislu
|
93e12d5f30
|
fix build
|
3 years ago |
chrislu
|
d62370d4e0
|
add todo
|
3 years ago |
chrislu
|
e8ce30fdc5
|
mount2: adjust file mode
|
3 years ago |
chrislu
|
f9d33f70b0
|
return fuse.Status when looking up by inode
|
3 years ago |
chrislu
|
49b84b6e2a
|
list entries while reading from remote
|
3 years ago |
chrislu
|
65a19e3abc
|
fix listing with correct inode
|
3 years ago |
chrislu
|
6ac066d1dc
|
count lookup or not
|
3 years ago |
chrislu
|
118d0e01a8
|
less logs
|
3 years ago |
chrislu
|
a6bc67c34c
|
less logs
|
3 years ago |