Separate io_u from ioengine [2/3] - move io_u functions
authorTomohiro Kusumi <tkusumi@tuxera.com>
Tue, 28 Mar 2017 20:03:00 +0000 (23:03 +0300)
committerJens Axboe <axboe@fb.com>
Tue, 28 Mar 2017 21:14:20 +0000 (15:14 -0600)
commite2c75fc49d028736eccea411fcb34b1d1b9efd36
tree1cfccf574616ba57faad98458978b4cb2c35ecaf
parent8ef89e0bd651ad7c42b2bca3d6e154360eb9adbd
Separate io_u from ioengine [2/3] - move io_u functions

Move io_u functions from ioengines.c to io_u.c whose prototypes
are now located in io_u.h after the previous commit.

Prior to the previous commit, ioengine.h originally separated io_u
related function prototypes and ioengine related function prototypes
(by comment) based on whether they invoke struct ioengine_ops member
functions or not. Prototypes for these two functions have existed
in io_u side, thus they should be moved to io_u.c respectively.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
io_u.c
ioengines.c