Add support for the iomem_align option
[fio.git] / options.c
index 394472a4dadf61512e6c49f8495f97f248b357f5..7135231eefeed59b73cf720c73aab14c5c66a3c8 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1036,6 +1036,16 @@ static struct fio_option options[] = {
 #endif
                  },
        },
+       {
+               .name   = "iomem_align",
+               .alias  = "mem_align",
+               .type   = FIO_OPT_INT,
+               .off1   = td_var_offset(mem_align),
+               .minval = 0,
+               .help   = "IO memory buffer offset alignment",
+               .def    = "0",
+               .parent = "iomem",
+       },
        {
                .name   = "verify",
                .type   = FIO_OPT_STR,