You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Chris Lu
288ba5fec8
mount: let filer handle chunk deletion decision ( #7900 )
* mount: let filer handle chunk deletion decision
Remove chunk deletion decision from FUSE mount's Unlink operation.
Previously, the mount decided whether to delete chunks based on
its locally cached entry's HardLinkCounter, which could be stale.
Now always pass isDeleteData=true and let the filer make the
authoritative decision based on its own data. This prevents
potential inconsistencies when:
- The FUSE mount's cached entry is stale
- Race conditions occur between multiple mounts
- Direct filer operations change hard link counts
* filer: check hard link counter before deleting chunks
When deleting an entry, only delete the underlying chunks if:
1. It is not a hard link
2. OR it is the last hard link (counter <= 1)
This protects against data loss when a client (like FUSE mount)
requests chunk deletion for a file that has multiple hard links.
2 days ago
..
meta_cache
mount: efficient file lookup in large directories, skipping directory caching (#7818)
2 weeks ago
page_writer
skip logs
9 months ago
unmount
fix GOOS
4 years ago
dirty_pages_chunked.go
avoid passe lock by value
2 years ago
filehandle.go
mount: improve read throughput with parallel chunk fetching (#7569)
1 month ago
filehandle_map.go
refactor
10 months ago
filehandle_read.go
mount: efficient file lookup in large directories, skipping directory caching (#7818)
2 weeks ago
filer_conf.go
worm grace period and retention time support (#6404)
1 year ago
inode_to_path.go
fix: comprehensive go vet error fixes and add CI enforcement (#7861)
1 week ago
inode_to_path_test.go
move to https://github.com/seaweedfs/seaweedfs
3 years ago
locked_entry.go
Fix dead lock (#5815)
1 year ago
page_writer.go
adjust logs
1 year ago
page_writer_pattern.go
atomic operation
3 years ago
rdma_client.go
weed/mount: refactor to use atomic type (#7157)
4 months ago
weedfs.go
mount: efficient file lookup in large directories, skipping directory caching (#7818)
2 weeks ago
weedfs_attr.go
fix: improve mount quota enforcement to prevent overflow (#7804)
2 weeks ago
weedfs_attr_darwin.go
can attr root directory
4 years ago
weedfs_attr_freebsd.go
mount: complete fix for freebsd
7 months ago
weedfs_attr_linux.go
can attr root directory
4 years ago
weedfs_dir_lookup.go
mount: efficient file lookup in large directories, skipping directory caching (#7818)
2 weeks ago
weedfs_dir_mkrm.go
mount: efficient file lookup in large directories, skipping directory caching (#7818)
2 weeks ago
weedfs_dir_read.go
mount: improve NFS directory listing (#7696)
3 weeks ago
weedfs_file_copy_range.go
FUSE Mount: Fix buffer allocation during copy (#6863)
7 months ago
weedfs_file_io.go
remove the direct_io flag, as it is not well-supported on macOS
1 year ago
weedfs_file_lseek.go
fix leaking goroutines (#7291)
3 months ago
weedfs_file_mkrm.go
mount: let filer handle chunk deletion decision (#7900)
2 days ago
weedfs_file_read.go
fix leaking goroutines (#7291)
3 months ago
weedfs_file_sync.go
mount: efficient file lookup in large directories, skipping directory caching (#7818)
2 weeks ago
weedfs_file_write.go
fix: improve mount quota enforcement to prevent overflow (#7804)
2 weeks ago
weedfs_filehandle.go
worm grace period and retention time support (#6404)
1 year ago
weedfs_forget.go
refactor
1 year ago
weedfs_grpc_server.go
move to https://github.com/seaweedfs/seaweedfs
3 years ago
weedfs_link.go
mount: efficient file lookup in large directories, skipping directory caching (#7818)
2 weeks ago
weedfs_metadata_flush.go
mount: efficient file lookup in large directories, skipping directory caching (#7818)
2 weeks ago
weedfs_quota.go
fix: improve mount quota enforcement to prevent overflow (#7804)
2 weeks ago
weedfs_quota_test.go
fix: improve mount quota enforcement to prevent overflow (#7804)
2 weeks ago
weedfs_rename.go
fix: improve mount quota enforcement to prevent overflow (#7804)
2 weeks ago
weedfs_stats.go
mount: adjust on du stats reporting
3 years ago
weedfs_symlink.go
mount: efficient file lookup in large directories, skipping directory caching (#7818)
2 weeks ago
weedfs_unsupported.go
Implement lseek syscall in FUSE (#3491)
3 years ago
weedfs_write.go
convert error fromating to %w everywhere (#6995)
6 months ago
weedfs_xattr.go
fix: improve mount quota enforcement to prevent overflow (#7804)
2 weeks ago
weedfs_xattr_freebsd.go
mount: complete fix for freebsd
7 months ago
wfs_filer_client.go
grpc connection to filer add sw-client-id header
3 years ago
wfs_save.go
move to https://github.com/seaweedfs/seaweedfs
3 years ago