Commit Graph
2 Commits
Author SHA1 Message Date
Nick Craig-Wood eccd97d75a fs: fix wrapping backends doing an extra transaction per file on s3, swift and ftp
Features.Mask combined SlowModTime with AND, but it is a restriction.
Wrapping backends such as crypt start with it false, so crypt over s3,
swift, qingstor, oracleobjectstorage or ftp lost it and read the
modtime when a fast fingerprint was wanted. This cost an extra
transaction per file when downloading through crypt to local, and with
--vfs-fast-fingerprint. Combine it with OR so the restriction
propagates through Mask.

Note that this changes the fast fingerprint for these wrapped remotes,
so a VFS cache using --vfs-fast-fingerprint will treat its cached
files as changed once after upgrading.
2026-11-17 16:48:10 +00:00
Nick Craig-Wood c5e537e3aa fs: fix wrapping backends allowing multi-thread downloads the backend forbids
Features.Mask combined NoMultiThreading with AND like the positive
feature flags, but it is a restriction. Wrapping backends such as
crypt, chunker, compress, hasher, union and combine start with it
false, so they dropped it and crypt over pikpak or protondrive used
multi-thread downloads. Combine it with OR so the restriction
propagates through Mask.
2026-11-17 16:48:10 +00:00