seaweedfs/weed/mount
Chris Lu 4d04609bb8
fix(mount): don't release file handles from FUSE Forget (#9529)
fix(mount): don't release file handles from Forget

Forget(nodeid, nlookup) only decrements the kernel inode lookup count.
File handle lifecycle belongs to FUSE Open/Release. Driving the FH
refcount from Forget coupled two unrelated counters and could tear down
a still-live handle if Forget ever raced ahead of Release.

Drop the ReleaseByInode call (and the now-unused method).
2026-05-18 01:02:58 -07:00
..
meta_cache feat(mount): pre-allocate file IDs in pool for writeback cache mode (#9038) 2026-04-11 20:02:42 -07:00
page_writer fix(mount): skip pressure-eviction of gappy page chunks (#9330) (#9334) 2026-05-06 15:26:56 -07:00
unmount go fix 2026-02-20 18:42:00 -08:00
dirty_pages_chunked.go fix(mount): remove fid pool to stop master over-allocating volumes (#9111) 2026-04-16 15:51:13 -07:00
error_classifier_test.go fix(mount): retry saveEntry on transient filer errors; stop mismapping Canceled to EIO (#9141) 2026-04-20 00:31:37 -07:00
error_classifier.go fix(mount): retry saveEntry on transient filer errors; stop mismapping Canceled to EIO (#9141) 2026-04-20 00:31:37 -07:00
filehandle_map.go fix(mount): don't release file handles from FUSE Forget (#9529) 2026-05-18 01:02:58 -07:00
filehandle_read.go peer chunk sharing 7/8: tryPeerRead read-path hook (#9136) 2026-04-19 00:53:12 -07:00
filehandle_test.go Fix S3 delete for non-empty directory markers (#8740) 2026-03-23 13:35:16 -07:00
filehandle.go feat(mount): add -dlm flag for distributed lock cross-mount write coordination (#8989) 2026-04-08 15:55:06 -07:00
filer_conf_test.go Adjust rename events metadata format (#8854) 2026-03-30 18:25:11 -07:00
filer_conf.go Adjust rename events metadata format (#8854) 2026-03-30 18:25:11 -07:00
inode_to_path_test.go mount: make metadata cache rebuilds snapshot-consistent (#8531) 2026-03-07 09:19:40 -08:00
inode_to_path.go fix(mount): propagate hard-link nlink changes to sibling cache entries (#9062) 2026-04-13 18:40:57 -07:00
locked_entry.go chore: execute goimports to format the code (#7983) 2026-01-07 13:06:08 -08:00
metadata_events.go mount: make metadata cache rebuilds snapshot-consistent (#8531) 2026-03-07 09:19:40 -08:00
metadata_flush_retry_test.go Add FUSE integration tests for POSIX file locking (#8752) 2026-03-24 11:43:25 -07:00
metadata_flush_retry.go fix(mount): retry saveEntry on transient filer errors; stop mismapping Canceled to EIO (#9141) 2026-04-20 00:31:37 -07:00
page_writer_pattern.go atomic operation 2022-08-26 17:04:11 -07:00
page_writer.go feat(mount): proactive flush of idle writable chunks (#9094) 2026-04-16 00:44:24 -07:00
peer_advertise_test.go peer chunk sharing 3/8: mount peer-serve HTTP endpoint (#9132) 2026-04-18 20:03:34 -07:00
peer_advertise.go peer chunk sharing 3/8: mount peer-serve HTTP endpoint (#9132) 2026-04-18 20:03:34 -07:00
peer_announcer_test.go peer chunk sharing 6/8: announce queue + batched flush (#9135) 2026-04-18 21:42:36 -07:00
peer_announcer.go peer chunk sharing 6/8: announce queue + batched flush (#9135) 2026-04-18 21:42:36 -07:00
peer_dialer.go peer chunk sharing 6/8: announce queue + batched flush (#9135) 2026-04-18 21:42:36 -07:00
peer_directory_test.go peer chunk sharing 5/8: mount chunk-directory shard (#9134) 2026-04-18 20:18:38 -07:00
peer_directory.go peer chunk sharing 5/8: mount chunk-directory shard (#9134) 2026-04-18 20:18:38 -07:00
peer_fake_cache_test.go peer chunk sharing 5/8: mount chunk-directory shard (#9134) 2026-04-18 20:18:38 -07:00
peer_fetcher_test.go peer chunk sharing 7/8: tryPeerRead read-path hook (#9136) 2026-04-19 00:53:12 -07:00
peer_fetcher.go peer chunk sharing 7/8: tryPeerRead read-path hook (#9136) 2026-04-19 00:53:12 -07:00
peer_grpc_test.go peer chunk sharing 5/8: mount chunk-directory shard (#9134) 2026-04-18 20:18:38 -07:00
peer_grpc.go peer chunk sharing 7/8: tryPeerRead read-path hook (#9136) 2026-04-19 00:53:12 -07:00
peer_hrw_test.go peer chunk sharing 4/8: mount registrar + HRW owner selection (#9133) 2026-04-18 20:03:45 -07:00
peer_hrw.go peer chunk sharing 4/8: mount registrar + HRW owner selection (#9133) 2026-04-18 20:03:45 -07:00
peer_registrar_test.go peer chunk sharing 4/8: mount registrar + HRW owner selection (#9133) 2026-04-18 20:03:45 -07:00
peer_registrar.go peer chunk sharing 4/8: mount registrar + HRW owner selection (#9133) 2026-04-18 20:03:45 -07:00
posix_file_lock_test.go fix(mount): keep async flush when LockOwner has no POSIX locks (#9300) 2026-05-01 19:51:27 -07:00
posix_file_lock.go fix(mount): keep async flush when LockOwner has no POSIX locks (#9300) 2026-05-01 19:51:27 -07:00
rdma_client.go chore: remove ~50k lines of unreachable dead code (#8913) 2026-04-03 16:04:27 -07:00
weedfs_access.go test: add pjdfstest POSIX compliance suite (#9013) 2026-04-10 09:52:16 -07:00
weedfs_async_flush.go mount: stream all filer mutations over single ordered gRPC stream (#8770) 2026-03-25 20:06:34 -07:00
weedfs_attr_darwin.go Enable writeback_cache and async_dio FUSE options (#7980) 2026-01-06 10:50:54 -08:00
weedfs_attr_freebsd.go Enable writeback_cache and async_dio FUSE options (#7980) 2026-01-06 10:50:54 -08:00
weedfs_attr_linux.go Enable writeback_cache and async_dio FUSE options (#7980) 2026-01-06 10:50:54 -08:00
weedfs_attr.go feat(mount): set FOPEN_KEEP_CACHE on re-open of unchanged files (#9097) 2026-04-16 11:37:52 -07:00
weedfs_chunk_flusher.go feat(mount): proactive flush of idle writable chunks (#9094) 2026-04-16 00:44:24 -07:00
weedfs_dir_lookup.go fix(mount): sanitize non-UTF-8 filenames; keep marshal errors per-request (#9207) 2026-04-23 19:17:35 -07:00
weedfs_dir_mkrm.go fix(mount): sanitize non-UTF-8 filenames; keep marshal errors per-request (#9207) 2026-04-23 19:17:35 -07:00
weedfs_dir_read_test.go mount: add option to show system entries (#8829) 2026-03-29 13:33:17 -07:00
weedfs_dir_read.go mount: add option to show system entries (#8829) 2026-03-29 13:33:17 -07:00
weedfs_file_copy_range_test.go fix(mount): serialize hard-link mutations on HardLinkId (#9064) 2026-04-13 22:39:50 -07:00
weedfs_file_copy_range.go fix(mount): avoid self-notify deadlock in Link and CopyFileRange handlers (#9110) 2026-04-16 14:09:32 -07:00
weedfs_file_io_test.go feat(mount): set FOPEN_KEEP_CACHE on re-open of unchanged files (#9097) 2026-04-16 11:37:52 -07:00
weedfs_file_io.go fix(mount): flush dirty handles on Release when kernel skipped Flush (#9165) 2026-04-20 17:54:54 -07:00
weedfs_file_lock.go Add FUSE integration tests for POSIX file locking (#8752) 2026-03-24 11:43:25 -07:00
weedfs_file_lseek.go Enable writeback_cache and async_dio FUSE options (#7980) 2026-01-06 10:50:54 -08:00
weedfs_file_mkrm_test.go fix(mount): flush dirty handles on Release when kernel skipped Flush (#9165) 2026-04-20 17:54:54 -07:00
weedfs_file_mkrm.go fix(mount): sanitize non-UTF-8 filenames; keep marshal errors per-request (#9207) 2026-04-23 19:17:35 -07:00
weedfs_file_read.go Enable writeback_cache and async_dio FUSE options (#7980) 2026-01-06 10:50:54 -08:00
weedfs_file_sync_test.go fix(mount): count manifest sizes in merge condition to prevent accumulation (#9101) 2026-04-16 03:33:08 -07:00
weedfs_file_sync.go fix(mount): preserve user-set mtime through async/periodic flush (#9363) (#9370) 2026-05-08 12:37:23 -07:00
weedfs_file_write.go fix(mount): preserve user-set mtime through async/periodic flush (#9363) (#9370) 2026-05-08 12:37:23 -07:00
weedfs_filehandle.go test: add pjdfstest POSIX compliance suite (#9013) 2026-04-10 09:52:16 -07:00
weedfs_forget.go fix(mount): don't release file handles from FUSE Forget (#9529) 2026-05-18 01:02:58 -07:00
weedfs_grpc_server.go chore: execute goimports to format the code (#7983) 2026-01-07 13:06:08 -08:00
weedfs_link.go fix(mount): sanitize non-UTF-8 filenames; keep marshal errors per-request (#9207) 2026-04-23 19:17:35 -07:00
weedfs_metadata_flush_mtime_test.go fix(mount): preserve user-set mtime through async/periodic flush (#9363) (#9370) 2026-05-08 12:37:23 -07:00
weedfs_metadata_flush.go fix(mount): preserve user-set mtime through async/periodic flush (#9363) (#9370) 2026-05-08 12:37:23 -07:00
weedfs_quota_test.go chore: execute goimports to format the code (#7983) 2026-01-07 13:06:08 -08:00
weedfs_quota.go fix: improve mount quota enforcement to prevent overflow (#7804) 2025-12-17 01:14:01 -08:00
weedfs_rename_test.go mount: add option to show system entries (#8829) 2026-03-29 13:33:17 -07:00
weedfs_rename.go fix(mount): sanitize non-UTF-8 filenames; keep marshal errors per-request (#9207) 2026-04-23 19:17:35 -07:00
weedfs_stats.go test: switch to sanwan/pjdfstest fork for NAME_MAX-aware tests (#9024) 2026-04-10 16:19:09 -07:00
weedfs_stream_helpers.go mount: stream all filer mutations over single ordered gRPC stream (#8770) 2026-03-25 20:06:34 -07:00
weedfs_stream_mutate.go fix(mount): update parent directory mtime/ctime on deferred file create (#9021) 2026-04-10 13:05:48 -07:00
weedfs_symlink.go fix(mount): sanitize non-UTF-8 filenames; keep marshal errors per-request (#9207) 2026-04-23 19:17:35 -07:00
weedfs_unsupported.go mount: implement create for rsync temp files (#8749) 2026-03-24 11:43:41 -07:00
weedfs_write_buffer_evict.go fix(mount): evict writable chunks when writeBufferSizeMB cap is reached (#9091) 2026-04-15 14:06:06 -07:00
weedfs_write.go fix(mount): sanitize non-UTF-8 filenames; keep marshal errors per-request (#9207) 2026-04-23 19:17:35 -07:00
weedfs_xattr_freebsd.go Enable writeback_cache and async_dio FUSE options (#7980) 2026-01-06 10:50:54 -08:00
weedfs_xattr_test.go fix(mount): copy xattr value bytes to avoid FUSE buffer aliasing (#9278) 2026-04-28 23:54:35 -07:00
weedfs_xattr.go fix(mount): copy xattr value bytes to avoid FUSE buffer aliasing (#9278) 2026-04-28 23:54:35 -07:00
weedfs.go fix(mount): fall through to filer when cached dir misses a tracked inode (#9436) 2026-05-11 11:50:37 -07:00
wfs_filer_client.go adjust fuse logs 2025-12-31 13:04:05 -08:00
wfs_save_test.go fix(mount): sanitize non-UTF-8 filenames; keep marshal errors per-request (#9207) 2026-04-23 19:17:35 -07:00
wfs_save.go fix(mount): sanitize non-UTF-8 filenames; keep marshal errors per-request (#9207) 2026-04-23 19:17:35 -07:00