Listing files in rclone mount of onedrive is very slow
Affected version
- Nightly flatpak: Yes
- Other: 44.2.1 on Fedora 38 Silverblue
Steps to reproduce
- Set up a onedrive remote in rclone.
- Upload a folder with few hundred files of few MB per file. (In my case it's 400 files of 4 MB size each; they are part of a restic repository's data directory, i.e. encrypted binary data.)
rclone mount onedrive:/path/to/folder /mnt -vv
- List contents of /mnt in Nautilus.
Current behavior
Nautilus is very slow listing the files. For my use case it takes around 40 seconds from opening the folder in Nautilus until I see the file listing. I have tried to set all three "Performance" options in Nautilus to false (search in subdirectories, generate thumbnails, count files), but that did not help. In contrast to Nautilus, ls /mnt
returns the file listing instantly.
Expected behavior
Generating the file listing should be way faster (comparable to ls
).
Additional information
The output of rclone mount
shows that while ls
only calls Attr
on each file to generate the listing, Nautilus additionally reads parts of every file.