Add new writetrim rw= mode for trims preceding writes
authorDan Ehrenberg <dehrenberg@chromium.org>
Tue, 14 Apr 2015 22:58:15 +0000 (15:58 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 15 Apr 2015 00:16:18 +0000 (18:16 -0600)
commit0e4dd95c548cca2e7bef7db3696231130cb4b594
treecbfb5e0494b95ce044835720c477d3926dc90edd
parent7854ada85dafe2ff6684fbb93e973f91283d99fc
Add new writetrim rw= mode for trims preceding writes

In this new mode, sequential trims and writes are interspersed by first
doing a trim at a particular offset, then doing writes starting from
that offset until the start of the next trim block, then another trim,
etc. This workload is designed to match the requirements of NAND flash,
if trims are implemented as erases.

Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c
io_ddir.h
io_u.c
options.c
stat.c