I'm experimenting with the new syscalls and noticed fio's support was
incomplete. This patch fixes some of those issues.
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
#ifdef CONFIG_PWRITEV
register_ioengine(&ioengine_pvrw);
#endif
+#ifdef CONFIG_PWRITEV2
+ register_ioengine(&ioengine_pvrw2);
+#endif
}
static void fio_exit fio_syncio_unregister(void)
#ifdef CONFIG_PWRITEV
unregister_ioengine(&ioengine_pvrw);
#endif
+#ifdef CONFIG_PWRITEV2
+ unregister_ioengine(&ioengine_pvrw2);
+#endif
}
.help = "Use preadv/pwritev",
},
#endif
-#ifdef CONFIG_PWRITEV
+#ifdef CONFIG_PWRITEV2
{ .ival = "pvsync2",
.help = "Use preadv2/pwritev2",
},