Add blockalign/ba option
Allows the job to specify alignment of the IO specifically, instead
of relying on using blocksize as the offset alignment.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c
index 73815bb..9700110 100644
--- a/options.c
+++ b/options.c
@@ -793,6 +793,16 @@
.parent = "rw",
},
{
+ .name = "ba",
+ .alias = "blockalign",
+ .type = FIO_OPT_STR_VAL_INT,
+ .off1 = td_var_offset(ba[DDIR_READ]),
+ .off2 = td_var_offset(ba[DDIR_WRITE]),
+ .minval = 1,
+ .help = "IO block offset alignment",
+ .parent = "rw",
+ },
+ {
.name = "bsrange",
.alias = "blocksize_range",
.type = FIO_OPT_RANGE,