Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Mar 25, 2022

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit c822572d68e326384ce179b9484de0e4abf3d514:

engines/null: use correct -include (2022-03-20 09:31:20 -0600)

are available in the Git repository at:

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

for you to fetch changes up to e3de2e7fe2889942d46699e72ac06b96eab09e27:

Merge branch 'github-1372' of https://github.com/vincentkfu/fio (2022-03-24 10:11:34 -0600)

----------------------------------------------------------------
Jens Axboe (1):
Merge branch 'github-1372' of https://github.com/vincentkfu/fio

Vincent Fu (1):
io_u: produce bad offsets for some time_based jobs

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

---

Diff of recent changes:

io_u.c +1 -1
index 806ceb77..50197a4b 100644
@@ -355,7 +355,7 @@ static int get_next_seq_offset(struct thread_data *td, struct fio_file *f,
 	 * and invalidate the cache, if we need to.
 	 */
 	if (f->last_pos[ddir] >= f->io_size + get_start_offset(td, f) &&
-	    o->time_based) {
+	    o->time_based && o->nr_files == 1) {
 		f->last_pos[ddir] = f->file_offset;
 		loop_cache_invalidate(td, f);
 	}