Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Aug 13, 2020

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 0d578085cc7b97b783e1719b205dd563b406ecbc:

t/zbd: check log file for failed assertions (2020-08-11 10:42:43 -0600)

are available in the Git repository at:

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

for you to fetch changes up to 84abeef7d9f2f5cded36dcfc127b3f33db89ea57:

io_u: calculate incremental residuals correctly (2020-08-12 11:48:15 -0600)

----------------------------------------------------------------
Jens Axboe (1):
io_u: calculate incremental residuals correctly

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

---

Diff of recent changes:

io_u.c +1 -1
index dbb0a6f8..2ef5acec 100644
@@ -1977,7 +1977,7 @@ static void io_completed(struct thread_data *td, struct io_u **io_u_ptr,
 	td->last_ddir = ddir;
 
 	if (!io_u->error && ddir_rw(ddir)) {
-		unsigned long long bytes = io_u->buflen - io_u->resid;
+		unsigned long long bytes = io_u->xfer_buflen - io_u->resid;
 		int ret;
 
 		/*