Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Nov 28, 2019

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit b4d867339d3e89ca54104df104f830aa374e31c0:

Merge branch 'fallocate-truncate' of https://github.com/tripped/fio (2019-11-26 11:57:52 -0700)

are available in the Git repository at:

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

for you to fetch changes up to bef74db41fb5a1607fd55cb86544165fc08acac1:

Merge branch 'engine-rados-fix-first' of https://github.com/aclamk/fio (2019-11-27 10:23:12 -0700)

----------------------------------------------------------------
Adam Kupczyk (1):
engines/rados: fix error with getting last instead of first element from list

Jens Axboe (1):
Merge branch 'engine-rados-fix-first' of https://github.com/aclamk/fio

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

---

Diff of recent changes:

engines/rados.c +1 -1
index cde538b9..30fcebb5 100644
@@ -342,7 +342,7 @@ int fio_rados_getevents(struct thread_data *td, unsigned int min,
 		}
 		assert(!flist_empty(&rados->completed_operations));
 		
-		fri = flist_last_entry(&rados->completed_operations, struct fio_rados_iou, list);
+		fri = flist_first_entry(&rados->completed_operations, struct fio_rados_iou, list);
 		assert(fri->completion);
 		assert(rados_aio_is_complete(fri->completion));
 		if (fri->write_op != NULL) {