liburing
liburing copied to clipboard
[GIT PULL] io_uring.7: atomic_store_explicit() in examples
The inline examples currently reference atomic_store_release(), though io_uring_smp_store_release() in the standalone example uses C11's atomic_store_explicit(). Use atomic_store_explicit() in the standalone example together with memory_order_release.
git request-pull output:
The following changes since commit 000dd873f4da9b6052792c93d4d0978bb4ea3252:
test/open-direct-link: add IOSQE_ASYNC (2022-03-29 16:38:27 -0600)
are available in the Git repository at:
https://github.com/dankamongmen/liburing.git dankamongmen/man-atomics
for you to fetch changes up to 94ed3b286e00fe4fdc1f97633e10934896aa9a77:
io_uring.7: atomic_store_explicit() in examples (2022-04-02 02:04:52 -0400)
----------------------------------------------------------------
nick black (1):
io_uring.7: atomic_store_explicit() in examples
man/io_uring.7 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Click to show/hide pull request guidelines
Pull Request Guidelines
- To make everyone easily filter pull request from the email
notification, use
[GIT PULL]as a prefix in your PR title.
[GIT PULL] Your Pull Request Title
- Follow the commit message format rules below.
- Follow the Linux kernel coding style (see: https://github.com/torvalds/linux/blob/master/Documentation/process/coding-style.rst).
Commit message format rules:
- The first line is title (don't be more than 72 chars if possible).
- Then an empty line.
- Then a description (may be omitted for truly trivial changes).
- Then an empty line again (if it has a description).
- Then a
Signed-off-bytag with your real name and email. For example:
Signed-off-by: Foo Bar <[email protected]>
The description should be word-wrapped at 72 chars. Some things should not be word-wrapped. They may be some kind of quoted text - long compiler error messages, oops reports, Link, etc. (things that have a certain specific format).
Note that all of this goes in the commit message, not in the pull request text. The pull request text should introduce what this pull request does, and each commit message should explain the rationale for why that particular change was made. The git tree is canonical source of truth, not github.
Each patch should do one thing, and one thing only. If you find yourself writing an explanation for why a patch is fixing multiple issues, that's a good indication that the change should be split into separate patches.
If the commit is a fix for an issue, add a Fixes tag with the issue
URL.
Don't use GitHub anonymous email like this as the commit author:
[email protected]
Use a real email address!
Commit message example:
src/queue: don't flush SQ ring for new wait interface
If we have IORING_FEAT_EXT_ARG, then timeouts are done through the
syscall instead of by posting an internal timeout. This was done
to be both more efficient, but also to enable multi-threaded use
the wait side. If we touch the SQ state by flushing it, that isn't
safe without synchronization.
Fixes: https://github.com/axboe/liburing/issues/402
Signed-off-by: Jens Axboe <[email protected]>
By submitting this pull request, I acknowledge that:
- I have followed the above pull request guidelines.
- I have the rights to submit this work under the same license.
- I agree to a Developer Certificate of Origin (see https://developercertificate.org for more information).