splice: use ->o.memalign to indicate we want aligned buffers
[fio.git] / engines / splice.c
index be16cbbfdf4a95341de6da7d1572f6612c13841b..aa00234e4576f17098e14ea2ace651b6b771a61c 100644 (file)
@@ -284,7 +284,7 @@ static int fio_spliceio_init(struct thread_data *td)
         * buffers. Just set ->odirect to force that.
         */
        if (td_read(td))
-               td->o.odirect = 1;
+               td->o.mem_align = 1;
 
        td->io_ops->data = sd;
        return 0;