Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jul 16, 2023

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 14adf6e31487aa2bc8e47cd037428036089a3834:

thinktime: Avoid calculating a negative time left to wait (2023-07-14 14:03:34 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 04361e9a23d6e0448fd6fbbd4e14ecdfff60e314:

Merge branch 'patch-3' of https://github.com/yangjueji/fio (2023-07-15 09:57:43 -0600)

----------------------------------------------------------------
Jens Axboe (1):
Merge branch 'patch-3' of https://github.com/yangjueji/fio

Jueji Yang (1):
fix: io_uring sqpoll issue_time empty when kernel not yet read sq

 engines/io_uring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

engines/io_uring.c +1 -1
index 407d65ce..f30a3c00 100644
@@ -646,7 +646,7 @@ static int fio_ioring_commit(struct thread_data *td)
 	 */
 	if (o->sqpoll_thread) {
 		struct io_sq_ring *ring = &ld->sq_ring;
-		unsigned start = *ld->sq_ring.head;
+		unsigned start = *ld->sq_ring.tail - ld->queued;
 		unsigned flags;
 
 		flags = atomic_load_acquire(ring->flags);