-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blk_io: Chunked IO, atomic fsize, better handling
- Read/write buffers in a chunked loop fashion, to prevent some hosts from being confused. Pass no more than 256M to a single syscall at once. Fixes #81. - Better handling of interrupted syscalls or partial IO - Optimize premature return case of reaching EOF by checking file size in userspace - Atomic file size counter, to prevent multiple IO threads doing rvwrite() from clashing with each other
- Loading branch information
Showing
1 changed file
with
66 additions
and
27 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