Separate io_u from ioengine [1/3] - add io_u.h
authorTomohiro Kusumi <tkusumi@tuxera.com>
Tue, 28 Mar 2017 20:02:59 +0000 (23:02 +0300)
committerJens Axboe <axboe@fb.com>
Tue, 28 Mar 2017 21:14:20 +0000 (15:14 -0600)
commit8ef89e0bd651ad7c42b2bca3d6e154360eb9adbd
treefa8861e1f66651562b0bc7a7da81ed698f9369d8
parentbe391e20c4db6dc8d3be3af0811419741fe5fd6e
Separate io_u from ioengine [1/3] - add io_u.h

Extract io_u related structures and functions from ioengine.h to
a new header io_u.h which is intended to be a header for io_u.c
(similar to the way there is io_u_queue.h for io_u_queue.c),
since there isn't much reason for them to be a part of ioengine.h.

This commit does nothing other than separating them out (and make
other related files include the new header).

Confirmed this compiles on Linux, Cygwin and several BSDs.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
fio.h
io_u.h [new file with mode: 0644]
ioengine.h