Recent changes (master)

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

 



The following changes since commit bd7492a47a5bb0ec66a05ae0cff0c9065afb0f88:

  smalloc: add a comment explaining why scalloc does not zero memory (2024-06-12 13:06:09 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 05a52be478dbbaa73d7ef563133125b24c001f1c:

  Merge branch 'nfs' of https://github.com/panxiao2014/fio (2024-06-14 06:19:28 -0600)

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

Pan Xiao (1):
      Fix issue when start randwrite by using nfs engine

 engines/nfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

diff --git a/engines/nfs.c b/engines/nfs.c
index ce748d14..6bc4af1f 100644
--- a/engines/nfs.c
+++ b/engines/nfs.c
@@ -280,7 +280,7 @@ static int fio_libnfs_open(struct thread_data *td, struct fio_file *f)
 	nfs_data = calloc(1, sizeof(struct nfs_data));
 	nfs_data->options = options;
 
-	if (td->o.td_ddir == TD_DDIR_WRITE)
+	if (td_write(td))
 		flags |= O_CREAT | O_RDWR;
 	else
 		flags |= O_RDWR;




[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