Recent changes (master)
The following changes since commit 86196b9b9104b87a81ca5e54c87b8acf471d8cad:
Merge branch 'http-slist-leak' of https://github.com/niharika-khare/fio (2026-09-29 13:27:05 -0400)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to e27aa8b47c371491044ce9d7b3ee2f8488ba91b4:
Merge branch 'fix/no-rdwr-when-job-never-writes' of https://github.com/hmi-jeon/fio (2026-09-30 13:24:00 -0400)
----------------------------------------------------------------
Minsik Jeon (1):
filesetup: don't open files O_RDWR for 100% read jobs
Vincent Fu (1):
Merge branch 'fix/no-rdwr-when-job-never-writes' of https://github.com/hmi-jeon/fio
filesetup.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
---
Diff of recent changes:
filesetup.c +5 -1
@@ -747,7 +747,11 @@ int generic_open_file(struct thread_data *td, struct fio_file *f) open_again:if (td_write (td)) { -if (!read_only) +/* +* For rw jobs, use O_RDWR only if the job has a non-zero +* write percentage. +*/ +if (!read_only && !(td_rw (td) && td->o.rwmix[DDIR_READ ] ==100 )) flags |=O_RDWR ;if (td->o.verify_only) {