Add support for different weights for reads and writes with bssplit
authorJens Axboe <jens.axboe@oracle.com>
Tue, 21 Apr 2009 06:29:55 +0000 (08:29 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 21 Apr 2009 06:29:55 +0000 (08:29 +0200)
commit720e84ad8292ab7b3a8e264fb00db71d796600d1
treef3527326ec759e4b798beed88ea7296fa5980d75
parent77787c82d755cc8ab8fda82531dd648cfd127d8d
Add support for different weights for reads and writes with bssplit

You can now do:

bssplit=4k/20:8k/80,1k/50:4k/50

To have 20% 4k reads and 80% 8k reads, while having 50% 1k writes
and 50% 4k writes. This is identical to how the bs= option treats
reads and writes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
HOWTO
fio.h
io_u.c
options.c