forked from ostreedev/ostree
-
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.
We need to expose more control over how fast we write to disk in order to allow OS vendors to more finely tune latency vs throughput for OS updates. See openshift/machine-config-operator#1897 This `OSTREE_PULL_MAX_OUTSTANDING_WRITES` is a crude hack I'm using for testing; need to also expose this via API, document it etc. Second, add a `per-object-fsync` option which goes back to invoking `fsync()` on each object just after writing it. Combined, these two ensure natural "backpressure" against trying to fsync a huge amount of data all at once, which I believe is what is leading to the huge etcd fsync latency.
- Loading branch information
Showing
5 changed files
with
16 additions
and
2 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