engines/filecreate: set data direction for stats
authorJens Axboe <axboe@kernel.dk>
Tue, 10 Oct 2017 14:27:38 +0000 (08:27 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Oct 2017 14:27:38 +0000 (08:27 -0600)
commit19ee42ac3287f0080a19f5ba31004c245bf1ebbe
tree4629026fc900df3b070525645586535de17618d5
parent818322ccd9a629934a6db7bd5cc6dfd167d18437
engines/filecreate: set data direction for stats

When we init the engine, use whatever data direction the job has
for the latency we log. This means that we're no longer dependent
on the job file setting rw=read/randread or not setting it at all.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/filecreate.c