1
mirror of https://github.com/rclone/rclone synced 2024-09-21 19:31:31 +02:00
rclone/cmd/cmount
Nick Craig-Wood 34c45a7c04 mount, cmount: remove addition of O_CREATE to flags on file open #2141
Previously this was adding it in to all file opens which was causing
inefficiencies under Windows where it stats the file using
open/fstat/close.

This change will make stat operations run much quicker under Windows
as they won't have to open the underlying file

This problem was introduced in61b6159a05336bd7ba105766de2d2ff171f7fb81
where we added O_CREATE to all file opens and creates.
2018-03-15 20:48:56 +00:00
..
fs.go mount, cmount: remove addition of O_CREATE to flags on file open #2141 2018-03-15 20:48:56 +00:00
mount_test.go mount: skip failing test TestFileModTimeWithOpenWriters on Windows 2018-03-09 23:15:38 +00:00
mount_unsupported.go Use build tags to control when and where cmount is built 2017-05-19 17:08:04 +01:00
mount.go mount, cmount: add --attr-timeout to control attribute caching in kernel 2018-03-04 11:20:22 +00:00