Files
rclone/vfs
Nick Craig-Wood 0457b0b375 vfs: add --vfs-handle-caching to keep file handles alive after close
Add a configurable grace period (default 5s) that delays closing file
handles and downloaders when the last handle closes. If a new handle
opens within the grace period, it reuses the existing resources.

This fixes 40x performance degradation with serve nfs vs serve sftp
caused by go-nfs opening/reading/closing on every NFS READ RPC, which
destroyed read-ahead prefetch before it could accumulate.

The grace period only applies to non-dirty files so that writeback
proceeds immediately on close.

Fixes #9251
2026-03-12 12:59:06 +00:00
..
2020-10-14 15:21:31 +01:00
2024-12-13 12:43:20 +00:00
2025-02-28 11:31:14 +00:00
2025-02-28 11:31:14 +00:00
2024-12-13 12:43:20 +00:00
2025-02-28 11:31:14 +00:00
2024-12-13 12:43:20 +00:00
2025-10-03 17:10:24 +01:00
2025-09-26 15:18:02 +01:00