Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Oct 12, 2021

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit d4af2ecea2930138bbaf58fe84debef8e84761c6:

t/io_uring: fix latency stats for depth == 1 (2021-10-09 12:56:11 -0600)

are available in the Git repository at:

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

for you to fetch changes up to c4cb947e8f92c10835164b67deed06828cfc01be:

io_u: don't attempt to requeue for full residual (2021-10-11 09:49:21 -0600)

----------------------------------------------------------------
Jens Axboe (1):
io_u: don't attempt to requeue for full residual

 io_u.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

io_u.c +1 -1
index 5289b5d1..586a4bef 100644
@@ -2004,7 +2004,7 @@ static void io_completed(struct thread_data *td, struct io_u **io_u_ptr,
 		 * Make sure we notice short IO from here, and requeue them
 		 * appropriately!
 		 */
-		if (io_u->resid) {
+		if (bytes && io_u->resid) {
 			io_u->xfer_buflen = io_u->resid;
 			io_u->xfer_buf += bytes;
 			io_u->offset += bytes;