forked from gramineproject/gramine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[common] Add explicit fsync callback to Protected Files
Previously, Protected Files didn't have a way to ensure that the data is physically stored on disk (aka fsync). This is in contrast to the "file flush" operation, which only flushes user-space buffers to the OS kernel buffers. (Gramine confusingly uses the term "flush" to mean flush and fsync, depending on the context.) This explicit fsync is important in e.g. persistent database workloads. It was detected on a RocksDB workload. Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
- Loading branch information
Showing
4 changed files
with
56 additions
and
6 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