-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metadata search index for more responsive FUSE
This adds the construction of a metadata index during archive creation, which can be used to narrow down the location of particular entries within the items list. The FUSE mount uses this index to fetch only those chunks that are relevant to the specific operation instead of fetching the metadata of the entire archive. As a result, using FUSE mounts of large archives is consirably more reponsive. And more importantly, the performance decrease linearly with the archive size anymore. Bulk operations that require the full metadata tree anyways (such as running "find" on the entire archive) are not negatively impacted. For this to work, the filesystem traversal order had to be changed from depth-first to breadth-first, which introduces the new metadata version number 2. Any otherwise unrelated parts of the code and tests that relied on the previous behavior are adjusted accordingly.
- Loading branch information
Showing
6 changed files
with
226 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.