mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-03 16:41:26 +01:00
perf(fuse): rebuild the hydrated listings in one pass (B167)
The hydrate rebuilt each listed folder's listing with a pass over every entry. With 4,600 listed folders and 37,000 entries that took 1.7 s at every start before the mount came up; one pass grouping the entries by parent takes 3 ms.
This commit is contained in:
1 parent
ffa0fe698d
commit
9bbc994a4f
4 files changed
+89
-15
No files matched your search
@@ -62,6 +62,8 @@ by its local id, in the queue, the stored tree and pins alike.
|
||||
- **A folder no longer drops or empties a new file while others are uploaded.** A file whose
|
||||
upload landed while the folder was being listed was missing from that listing, or listed as
|
||||
empty (B166).
|
||||
- **The mount comes up faster on a large Drive.** Rebuilding the folder listings from the cache
|
||||
took close to 2 s with 37,000 files at every start (B167).
|
||||
- **A file renamed just as its upload finished keeps its new name.** The mount no longer showed
|
||||
the old name, and a second rename no longer failed with "No such file or directory" (B152).
|
||||
- **A change that waits for a name to be freed no longer waits seconds after it is.** A rename or
|
||||
|
||||
Reference in new issue
Block a user