engines/windowsaio: only set IOCP thread affinity if specified
authorJens Axboe <axboe@kernel.dk>
Mon, 17 Aug 2020 22:42:16 +0000 (15:42 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Aug 2020 22:42:16 +0000 (15:42 -0700)
commit09c1aa8b322765afae56ea1ebc9eaa06f94da6a6
tree4b4669c39a01149a35905844ca0201ca8c813898
parentdde39f8c356158207eb2fc8ff6c9d2daad910a84
engines/windowsaio: only set IOCP thread affinity if specified

We set it by default, which seems like a bad idea. If the issuing
thread is running on some other CPU, we don't want to bind this
to what is probably CPU0.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/windowsaio.c