mirror of
https://github.com/rclone/rclone.git
synced 2025-02-22 13:28:40 +08:00

Before this fix we took the directory lock to read the ModTime of the directory. This was causing locking on directories which were being re-read from the backend. This commit gives the modtime its own lock so it can be read even when the directory is being updated. See: https://forum.rclone.org/t/high-cpu-load-with-rclone-mount/17604