binject: use WRITE, not WRITEZERO
authorJens Axboe <jaxboe@fusionio.com>
Wed, 8 Sep 2010 13:06:23 +0000 (15:06 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 8 Sep 2010 13:06:23 +0000 (15:06 +0200)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
engines/binject.c

index 3f663bda3a9dbff227c2afdb9998cda14c7f689f..a1b0181ce7d2b48e7cf9b7fefbb4db8867a8d00c 100644 (file)
@@ -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;