Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jun 1, 2018

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit cf04b906fda16c6c14c420b71130a31d6580e9d8:

Fix typo in bssplit documentation (2018-05-25 08:14:50 -0600)

are available in the git repository at:

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

for you to fetch changes up to 80f021501fda6a6244672bb89dd8221a61cee54b:

io_u: ensure to invalidate cache on time_based random reads (2018-05-31 09:05:59 -0600)

----------------------------------------------------------------
Jens Axboe (1):
io_u: ensure to invalidate cache on time_based random reads

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

---

Diff of recent changes:

io_u.c +1 -1
index 5b4c0df..945aa19 100644
@@ -325,9 +325,9 @@ static int get_next_rand_block(struct thread_data *td, struct fio_file *f,
 	if (td->o.time_based ||
 	    (td->o.file_service_type & __FIO_FSERVICE_NONUNIFORM)) {
 		fio_file_reset(td, f);
+		loop_cache_invalidate(td, f);
 		if (!get_next_rand_offset(td, f, ddir, b))
 			return 0;
-		loop_cache_invalidate(td, f);
 	}
 
 	dprint(FD_IO, "%s: rand offset failed, last=%llu, size=%llu\n",