From d9257beae0247e694c0d7c286a4088a2ebc53ccf Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 18 Oct 2006 15:06:22 +0200 Subject: [PATCH] [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 --- engines/fio-engine-mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }; -- 2.25.1