Fixup and improve per-thread data
authorJens Axboe <axboe@fb.com>
Fri, 11 Dec 2015 20:25:24 +0000 (13:25 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 11 Dec 2015 20:25:24 +0000 (13:25 -0700)
commit2466096336bd0fbc1a94811aa338926af6baf42f
tree75f7549c1c7c812340beda323882ed08fd7c31db
parentb38823202a5015e27cc4a683aa8d930764620443
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>
backend.c
fio.h
iolog.c
iolog.h
rate-submit.c
rate-submit.h
server.c
workqueue.c
workqueue.h