Recent changes (master)

Jens Axboe
2020-08-18T12:00:06Z

The following changes since commit dde39f8c356158207eb2fc8ff6c9d2daad910a84:

fio: add for_each_rw_ddir() macro (2020-08-16 21:01:22 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 09c1aa8b322765afae56ea1ebc9eaa06f94da6a6:

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

----------------------------------------------------------------
Jens Axboe (1):
engines/windowsaio: only set IOCP thread affinity if specified

engines/windowsaio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

---

Diff of recent changes:

diff --git a/engines/windowsaio.c b/engines/windowsaio.c
index 13d7f194..ff8b6e1b 100644
--- a/engines/windowsaio.c
+++ b/engines/windowsaio.c
@@ -107,7 +107,8 @@ static int fio_windowsaio_init(struct thread_data *td)
ctx->wd = wd;
wd->iothread = CreateThread(NULL, 0, IoCompletionRoutine, ctx, 0, &threadid);

- if (wd->iothread != NULL)
+ if (wd->iothread != NULL &&
+ fio_option_is_set(&td->o, cpumask))
fio_setaffinity(threadid, td->o.cpumask);
else
log_err("windowsaio: failed to create io completion thread\n");