[PATCH] Implement file syncing as data direction
authorJens Axboe <jens.axboe@oracle.com>
Tue, 24 Oct 2006 12:41:26 +0000 (14:41 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 24 Oct 2006 12:41:26 +0000 (14:41 +0200)
commit87dc1ab1b4df7b977f60e3d43533a896e2ee665b
tree94f3d84d6364d34a11db6e2fcc4954d0e92bd276
parentdfd7bc2c24d3a4281982eaf4f83aa1aeb09424de
[PATCH] Implement file syncing as data direction

Instead of defining a seperate ->sync() operation for the io engine,
reuse the io_u infrastructure for committing and reaping sync
events as well. It's a nice cleanup as well.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/fio-engine-libaio.c
engines/fio-engine-mmap.c
engines/fio-engine-posixaio.c
engines/fio-engine-sg.c
engines/fio-engine-splice.c
engines/fio-engine-sync.c
fio.c
fio.h
io_u.c
ioengines.c