summaryrefslogtreecommitdiff
path: root/os/os.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-07-06 12:59:04 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-07-06 12:59:04 +0200
commite8462bd8250cf3ff2d41f17e1a4d4cefc70b6b37 (patch)
treeb53396f58e03f2fa4584de3289beae8e786ef1cf /os/os.h
parent8f933caebc879fa06bb8d2d25802dd6f27da8071 (diff)
downloadfio-e8462bd8250cf3ff2d41f17e1a4d4cefc70b6b37.tar.gz
fio-e8462bd8250cf3ff2d41f17e1a4d4cefc70b6b37.tar.bz2
Add support for async IO verification offload
This adds support for setting up a number of IO verification offload threads, instead of doing the offload inline. An option for controlling the CPU affinity of those threads are always added. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os/os.h')
-rw-r--r--os/os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/os.h b/os/os.h
index dbf09571..10e796fb 100644
--- a/os/os.h
+++ b/os/os.h
@@ -39,7 +39,7 @@
#endif /* FIO_HAVE_FADVISE */
#ifndef FIO_HAVE_CPU_AFFINITY
-#define fio_setaffinity(td) (0)
+#define fio_setaffinity(pid, mask) (0)
#define fio_getaffinity(pid, mask) do { } while (0)
#define fio_cpu_clear(mask, cpu) do { } while (0)
#define fio_cpuset_exit(mask) (-1)