mirror of https://github.com/rclone/rclone.git
When mounting with --vfs-read-ahead option, if a file is accessed at multiple offsets (for example, by a video player like Plex to read audio and video tracks) then each corresponding downloader would have the ReadAhead added to its offset, killing performance. This fix would shrink old downloaders and only keep the latest one with enhanced offset. |
||
---|---|---|
.. | ||
downloaders | ||
writeback | ||
cache.go | ||
cache_test.go | ||
item.go | ||
item_test.go |