From my brief testing of
vfs-cache-mode full, I'm missing a feature that might improve on the flexibility of it. Its the file count limit for stale objects.
--vfs-cache-poll-interval 1s works OK but if you have a bunch of small size, it will not get cleared due to
Small files do not get cleared even if its stale until 1000M is reached. Maybe its intended or a bug but I'd prefer if you could add a file count limit instead.
All stale files are limited to 5 files. Preferably delete files by oldest date so the earliest 5 stale files are kept.
This is highly beneficial as it mostly affects responsiveness. Whenever its clearing a bunch of files when --max-size is hit, the thousands of small files will take some time to clear, sometimes minutes.
Maybe its a bug that has max-size higher priority than poll interval?
Hope I explained it clearly.