README.md: Add note regarding Direct I/O #226
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The introduction of
ardb-server
along withrocksdb
resulted in using direct I/O. This is configured in the corresponding configuration file.Our tests suggested that direct I/O isn't guaranteed to be available on systems using ZFS (see this issue) or unprivileged LXC containers. The
ardb-server
instance would crash on startup using the default configuration. Therefore it was necessary to disable this feature.To save people from having to diagnose this, this PR adds a note regarding this issue in the
README.md
file.Note: An easy way to check if direct I/O is available on a given host is to execute
dd oflag=direct if=/dev/zero of=/tmp/testfile bs=1M count=1
and checking the output for errors.