summaryrefslogtreecommitdiff
path: root/rate-submit.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-12-11 13:25:24 -0700
committerJens Axboe <axboe@fb.com>2015-12-11 13:25:24 -0700
commit2466096336bd0fbc1a94811aa338926af6baf42f (patch)
tree75f7549c1c7c812340beda323882ed08fd7c31db /rate-submit.h
parentb38823202a5015e27cc4a683aa8d930764620443 (diff)
Fixup and improve per-thread data
- Get rid of backend_data, just use sk_out - Add reference counting to sk_out and proper assign/drop helpers - Ensure we pass it to other threads created - Fix leaks of sk_out This should get us closer to the new model actually working as intended. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'rate-submit.h')
-rw-r--r--rate-submit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rate-submit.h b/rate-submit.h
index b4ca129..19fde3a 100644
--- a/rate-submit.h
+++ b/rate-submit.h
@@ -1,7 +1,7 @@
#ifndef FIO_RATE_SUBMIT
#define FIO_RATE_SUBMIT
-int rate_submit_init(struct thread_data *);
+int rate_submit_init(struct thread_data *, struct sk_out *);
void rate_submit_exit(struct thread_data *);
#endif