Honor random/zero/compressible settings for filling an initial file
authorJens Axboe <axboe@kernel.dk>
Fri, 3 May 2013 13:12:33 +0000 (15:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 May 2013 13:12:33 +0000 (15:12 +0200)
commitcc86c395fd9dd2002ec1edc0967b7c9453debdfb
tree06169cc5989889193b4c4401747b0a4b22e94a12
parent239a11de15959849a69508ff7cb46be114599baf
Honor random/zero/compressible settings for filling an initial file

Right now we only do that for when the job writes, do it for the
initial setup as well. Otherwise you just get zero filled files
initially, which might not be what you want.

Also fixes a bug with compression if compress_chunk isn't set.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
filesetup.c
io_u.c
ioengine.h