From: Jens Axboe Date: Wed, 8 Sep 2010 13:06:23 +0000 (+0200) Subject: binject: use WRITE, not WRITEZERO X-Git-Tag: fio-1.44-rc1~8^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=3410599a0abd52a6997e5561ebfa839ef1774b8c binject: use WRITE, not WRITEZERO Signed-off-by: Jens Axboe --- diff --git a/engines/binject.c b/engines/binject.c index 3f663bda..a1b0181c 100644 --- a/engines/binject.c +++ b/engines/binject.c @@ -175,7 +175,7 @@ static int fio_binject_prep(struct thread_data *td, struct io_u *io_u) buc->type = B_TYPE_READ; } else if (io_u->ddir == DDIR_WRITE) { binject_buc_init(bd, io_u); - buc->type = B_TYPE_WRITEZERO; + buc->type = B_TYPE_WRITE; } else if (io_u->ddir == DDIR_TRIM) { binject_buc_init(bd, io_u); buc->type = B_TYPE_DISCARD;