Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vfs: take advantage of bup chunking to make file seeking faster.
If you have a huge file, you can now seek around inside it (eg. in 'bup fuse') without having to read its entire contents. Calculating the file size is also really fast now. This makes a bup fuse-mounted filesystem much more useful for real-time access. For example, I was able to connect to an sqlite3 database and have it work at a reasonable speed. (Obviously, since 'bup fuse' is written in python and doesn't currently support threading, the speed could still be improved, but at least it's no longer godawful.)
- Loading branch information
Showing
2 changed files
with
133 additions
and
38 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