Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jul 14, 2020

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 5bd526f2a614e75a929906c91a5fa3bab293d319:

t/io_uring: make bs and polled IO configurable at runtime (2020-07-08 15:48:11 -0600)

are available in the Git repository at:

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

for you to fetch changes up to 255f09d6d266c3e73abb9776ae481bb4d79caf00:

Merge branch 'io_uring-opt' of https://github.com/antonblanchard/fio (2020-07-13 08:01:52 -0600)

----------------------------------------------------------------
Anton Blanchard (1):
io_uring: Avoid needless update of completion queue head pointer

Jens Axboe (1):
Merge branch 'io_uring-opt' of https://github.com/antonblanchard/fio

 engines/io_uring.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

---

Diff of recent changes:

engines/io_uring.c +3 -1
index cd0810f4..ecff0657 100644
@@ -307,7 +307,9 @@ static int fio_ioring_cqring_reap(struct thread_data *td, unsigned int events,
 		head++;
 	} while (reaped + events < max);
 
-	atomic_store_release(ring->head, head);
+	if (reaped)
+		atomic_store_release(ring->head, head);
+
 	return reaped;
 }