Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jul 19, 2025

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 34fa726e0ae0236c36fb1409bddeab2bab7839d2:

Merge branch 'fsync-get-io-u-from-freelist' of https://github.com/jeongjonghwi/fio (2025-07-16 11:59:46 -0400)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 60c19edf22e4a81fe0320370c2386c5b42127dc0:

Merge branch 'fix/io_uring-cq-reap' of https://github.com/calebsander/fio (2025-07-18 12:38:12 -0600)

----------------------------------------------------------------
Caleb Sander Mateos (7):
Revert "engines/io_uring: update getevents max to reflect previously seen events" engines/io_uring: consolidate fio_ioring_cqring_reap() arguments engines/io_uring: remove loop over CQEs in fio_ioring_cqring_reap() engines/io_uring: return unsigned from fio_ioring_cqring_reap() engines/io_uring: simplify getevents control flow
arch: add atomic_store_relaxed()
engines/io_uring: relax CQ head atomic store ordering

Jens Axboe (1):
Merge branch 'fix/io_uring-cq-reap' of https://github.com/calebsander/fio

 arch/arch.h        |  5 +++++
 engines/io_uring.c | 46 +++++++++++++++++++++++-----------------------
 2 files changed, 28 insertions(+), 23 deletions(-)

---

Diff of recent changes:

arch/arch.h +5 -0
index 7e294ddf..437736f8 100644
@@ -53,6 +53,8 @@ extern unsigned long arch_flags;
 #define atomic_load_acquire(p)					\
 	std::atomic_load_explicit(p,				\
 			     std::memory_order_acquire)
+#define atomic_store_relaxed(p, v)				\
+	std::atomic_store_explicit((p), (v), std::memory_order_relaxed)
 #define atomic_store_release(p, v)				\
 	std::atomic_store_explicit(p, (v),			\
 			     std::memory_order_release)
@@ -67,6 +69,9 @@ extern unsigned long arch_flags;
 #define atomic_load_acquire(p)					\
 	atomic_load_explicit((_Atomic typeof(*(p)) *)(p),	\
 			     memory_order_acquire)
+#define atomic_store_relaxed(p, v)				\
+	atomic_store_explicit((_Atomic typeof(*(p)) *)(p), (v),	\
+			      memory_order_relaxed)
 #define atomic_store_release(p, v)				\
 	atomic_store_explicit((_Atomic typeof(*(p)) *)(p), (v),	\
 			      memory_order_release)
engines/io_uring.c +23 -23

81 lines not on this page · raw message