-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
fsync
and hard link support, start using it in snapshots
* Add two new `HasBlockIO` primitives for `fsync`, one for synchronising files, one for directories. These are separate, since we can not synchronise directories on `Windows`. * Add one new `HasBlockIO` primitive for creating hard links. * Add `IO` specialisations to `blockio-api`. * Use the new `HasBlockIO` primitives in the snapshot implementation. Note that when we create a snapshot, that we make *both* the hard links and their parent directory (the named snapshot directory) durable. Co-authored-by: Recursion Ninja <[email protected]>
- Loading branch information
1 parent
82df7e4
commit a6e28c7
Showing
13 changed files
with
349 additions
and
65 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
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.