rclone/vfs/vfscache
Nick Craig-Wood 2a817e21cb vfs: fix excess CPU used by VFS cache cleaner looping
Before this change the VFS cache cleaner would loop indefinitely while
the cache was above quota. This used up all the CPU.

This fix prevents the cache cleaner from looping. It will be kicked on
ENOSPACE and run in its scheduled time otherwise so this should be
sufficient.

See: https://forum.rclone.org/t/vfs-keeps-checking-same-files/32120
2022-08-04 10:19:47 +01:00
..
downloaders Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
writeback Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cache_test.go vfs: add vfs/stats remote control to show statistics - fixes #5816 2021-11-23 18:00:21 +00:00
cache.go vfs: fix excess CPU used by VFS cache cleaner looping 2022-08-04 10:19:47 +01:00
item_test.go Spelling fixes 2020-10-14 15:21:31 +01:00
item.go vfs: reduce memory usage by re-ordering commonly used structures 2022-08-04 10:19:47 +01:00