[PATCH] mmap: fix bug introduced with the io engine split
authorJens Axboe <jens.axboe@oracle.com>
Wed, 18 Oct 2006 13:06:22 +0000 (15:06 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 18 Oct 2006 13:06:22 +0000 (15:06 +0200)
We never initialized the mmap area, because it forgot
to get FIO_MMAPIO.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/fio-engine-mmap.c

index ad294f5..0c79752 100644 (file)
@@ -98,5 +98,5 @@ struct ioengine_ops ioengine = {
        .event          = fio_mmapio_event,
        .cleanup        = fio_mmapio_cleanup,
        .sync           = fio_mmapio_sync,
-       .flags          = FIO_SYNCIO,
+       .flags          = FIO_SYNCIO | FIO_MMAPIO,
 };