Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jan 23, 2024

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit aa84b5ba581add84ce6e73b20ca0fbd04f6058c8:

ci: stop hard coding number of jobs for make (2024-01-18 13:00:31 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 8b3190c3ea38af87778a68c576947f8797215d33:

filesetup: clear O_RDWR flag for verify_only write workloads (2024-01-22 11:51:05 -0500)

----------------------------------------------------------------
Vincent Fu (1):
filesetup: clear O_RDWR flag for verify_only write workloads

 filesetup.c | 5 +++++
 1 file changed, 5 insertions(+)

---

Diff of recent changes:

filesetup.c +5 -0
index 816d1081..2d277a64 100644
@@ -749,6 +749,11 @@ open_again:
 		if (!read_only)
 			flags |= O_RDWR;
 
+		if (td->o.verify_only) {
+			flags &= ~O_RDWR;
+			flags |= O_RDONLY;
+		}
+
 		if (f->filetype == FIO_TYPE_FILE && td->o.allow_create)
 			flags |= O_CREAT;