Add possibility to make sequential IO "holed"
authorJens Axboe <jaxboe@fusionio.com>
Thu, 25 Aug 2011 07:09:37 +0000 (09:09 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 25 Aug 2011 07:09:37 +0000 (09:09 +0200)
commit059b080217b86dbf9f3574c4661a1b2300522c79
tree9d2f8b284ab692702ca5a6366bf5095cb9d86397
parent3427207d9d638a6c4bd4ca8e9b3634733fd2c780
Add possibility to make sequential IO "holed"

For sequential IO, it is now possible to add a number of bytes to
be skipped for every block read or written. Using:

bs=8k
rw=read:8k

will first read 0k->8k, then 16k->24k, and so on. This skips 8k
for every 'bs' sized block read. Similar for writes, doing

bs=4k
rw=write:4k

will write 0k->4k, then 8k->12k, etc. End result being that every
other block is written, in a sequential fashion.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
HOWTO
fio.1
fio.h
io_u.c
options.c