summaryrefslogtreecommitdiff
path: root/verify.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 /verify.h
parent8f933caebc879fa06bb8d2d25802dd6f27da8071 (diff)
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 'verify.h')
-rw-r--r--verify.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/verify.h b/verify.h
index 76d256d..50c8e43 100644
--- a/verify.h
+++ b/verify.h
@@ -64,5 +64,12 @@ struct vhdr_meta {
extern void populate_verify_io_u(struct thread_data *, struct io_u *);
extern int __must_check get_next_verify(struct thread_data *td, struct io_u *);
extern int __must_check verify_io_u(struct thread_data *, struct io_u *);
+extern int verify_io_u_async(struct thread_data *, struct io_u *);
+
+/*
+ * Async verify offload
+ */
+extern int verify_async_init(struct thread_data *);
+extern void verify_async_exit(struct thread_data *);
#endif