From: Jens Axboe Date: Wed, 18 Oct 2006 13:06:22 +0000 (+0200) Subject: [PATCH] mmap: fix bug introduced with the io engine split X-Git-Tag: fio-1.7~25 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d9257beae0247e694c0d7c286a4088a2ebc53ccf [PATCH] mmap: fix bug introduced with the io engine split We never initialized the mmap area, because it forgot to get FIO_MMAPIO. Signed-off-by: Jens Axboe --- diff --git a/engines/fio-engine-mmap.c b/engines/fio-engine-mmap.c index ad294f5d..0c79752f 100644 --- a/engines/fio-engine-mmap.c +++ b/engines/fio-engine-mmap.c @@ -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, };