Recent changes (master)
The following changes since commit 7037b833e175aae32900b73bf597aad08c1d8472:
windows: drop nanosleep and clock_gettime (2025-06-23 15:04:34 -0400)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 5db7e6b26bd07824c6207dcbac1a8e7a95a3f20c:
Merge branch 'fix-randtrimwrite' of https://github.com/minwooim/fio (2025-06-30 07:42:00 -0600)
----------------------------------------------------------------
Jens Axboe (1):
Merge branch 'fix-randtrimwrite' of https://github.com/minwooim/fio
Jungwon Lee (1):
io_u: fix offset calculation in randtrimwrite
io_u.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
---
Diff of recent changes:
io_u.c +1 -1
@@ -431,7 +431,7 @@ static int get_next_block(struct thread_data *td, struct io_u *io_u,if (td_randtrimwrite (td) && ddir ==DDIR_WRITE ) {/* don't mark randommap for these writes */ io_u_set (td, io_u,IO_U_F_BUSY_OK ); - offset = f->last_start[DDIR_TRIM ]; + offset = f->last_start[DDIR_TRIM ] - f->file_offset; *is_random = true; ret =0 ; }else if (rw_seq) {