Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Aug 19, 2020

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 09c1aa8b322765afae56ea1ebc9eaa06f94da6a6:

engines/windowsaio: only set IOCP thread affinity if specified (2020-08-17 15:42:16 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 3c1f3ca75b447a2bd0a93deb0a2a1210529d2ccb:

Merge branch 'filelock_assert_fix' of https://github.com/bardavid/fio into master (2020-08-18 08:33:49 -0700)

----------------------------------------------------------------
David, Bar (1):
filelock: fix wrong file trylock assertion.

Jens Axboe (2):
Merge branch 'asprintf1' of https://github.com/kusumi/fio into master Merge branch 'filelock_assert_fix' of https://github.com/bardavid/fio into master

Tomohiro Kusumi (1):
oslib: fix asprintf build failure

 filelock.c       | 2 +-
 oslib/asprintf.c | 1 -
 oslib/asprintf.h | 2 ++
 3 files changed, 3 insertions(+), 2 deletions(-)

---

Diff of recent changes:

filelock.c +1 -1
index 7e92f63d..fd3a6b29 100644
@@ -179,7 +179,7 @@ static bool __fio_lock_file(const char *fname, int trylock)
 	fio_sem_up(&fld->lock);
 
 	if (!ff) {
-		assert(!trylock);
+		assert(trylock);
 		return true;
 	}
 
oslib/asprintf.c +0 -1
index ff503c52..2d9f811c 100644
@@ -1,4 +1,3 @@
-#include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include "oslib/asprintf.h"
oslib/asprintf.h +2 -0
index 7425300f..43bbb56b 100644
@@ -1,6 +1,8 @@
 #ifndef FIO_ASPRINTF_H
 #define FIO_ASPRINTF_H
 
+#include <stdarg.h>
+
 #ifndef CONFIG_HAVE_VASPRINTF
 int vasprintf(char **strp, const char *fmt, va_list ap);
 #endif