Recent changes (master)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

diff --git a/filesetup.c b/filesetup.c
index 816d1081..2d277a64 100644
--- a/filesetup.c
+++ b/filesetup.c
@@ -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;
 




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux