mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-19 10:05:03 +01:00
fix(fuse): settle provisional sizes before reads and write opens
A file listed by the cheap enumeration reports its ciphertext size until the size upgrade lands. Since B84 a read on that size fails with EIO, and a write open started its handle at it. Reads and write opens now fetch the real size first. A folder past the size-upgrade cap is queued instead of dropped, so a large copy no longer leaves most folders provisional (B100).
This commit is contained in:
1 parent
9e26cd0285
commit
84c9ade8e3
4 files changed
+275
-50
No files matched your search
@@ -11,6 +11,13 @@ scratch (user data in `staging/` and `recovery/` is never touched by this).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
- **Freshly listed files read correctly.** A file whose real size had not been fetched yet
|
||||
reported its encrypted size, about 53 bytes too big, and reading it failed with
|
||||
`Input/output error`. This happened most often right after copying a large folder. Reads and
|
||||
write opens now fetch the real size first, and a big folder walk no longer skips size lookups
|
||||
(B100).
|
||||
|
||||
## [2.7.0] — 2026-09-29
|
||||
|
||||
Schema: **35** (unchanged).
|
||||
|
||||
Reference in new issue
Block a user