rclone:fix-vfs-latency

Last commit made on 2022-11-15
Get this branch:
git clone -b fix-vfs-latency https://git.launchpad.net/rclone

Branch merges

Branch information

Name:
fix-vfs-latency
Repository:
lp:rclone

Recent commits

b7cba28... by Nick Craig-Wood

vfs: disable --buffer-size read ahead

See: https://forum.rclone.org/t/for-mount-sftp-why-right-click-on-exe-file-is-so-slow-until-it-freezes/33830/52

a61d219... by Nick Craig-Wood

local: fix -L/--copy-links with filters missing directories

In this commit

8d1fff9a8237c64f local: obey file filters in listing to fix errors on excluded files

We introduced the concept of local backend filters.

Unfortunately the filters were being applied before we had resolved
the symlink to point to a directory. This meant that symlinks pointing
to directories were filtered out when they shouldn't have been.

This was fixed by moving the filter check until after the symlink had
been resolved.

See: https://forum.rclone.org/t/copy-links-not-following-symlinks-on-1-60-0/34073/7

652d3cd... by Nick Craig-Wood

vfs: windows: fix slow opening of exe files by not truncating files when not necessary

Before this change we truncated files in the backing store regardless
of whether we needed to or not.

After, we check to see if the file is the right size and don't
truncate if it is.

Apparently Windows Defender likes to check executables each time they
are modified, and truncating a file to its existing size is enough to
trigger the Windows Defender scan. This was causing a big slowdown for
operations which opened and closed the file a lot, such as looking at
properties on an executable.

See: https://forum.rclone.org/t/for-mount-sftp-why-right-click-on-exe-file-is-so-slow-until-it-freezes/33830

bb1fc5b... by Nick Craig-Wood

Add Kamui to contributors

efd3c64... by Kamui <email address hidden>

rcserver: avoid generating default credentials with htpasswd - fixes #4839

0ac5795... by Nick Craig-Wood

fs: make all duration flags take y, M, w, d etc suffixes

Fixes #6556

2f77651... by Nick Craig-Wood

Add rkettelerij to contributors

8daacc2... by Nick Craig-Wood

Add techknowlogick to contributors

87fa9f8... by rkettelerij <email address hidden>

azureblob: Add support for custom upload headers

1392793... by albertony <email address hidden>

sftp: auto-detect shell type for fish

Fish is different from POSIX-based Unix shells such as bash,
and a bracketed variable references like we use for the
auto-detection echo command is not supported. The command
will return with zero exit code but produce no output on
stdout. There is a message on stderr, but we don't log it
due to the zero exit code:

fish: Variables cannot be bracketed. In fish, please use {$ShellId}.

Fixes #6552