implement 'unit_base' option to select between KB and Kbit et. al.
[fio.git] / engines / net.c
index 624ff1589ead802714c0bc15171d7730464e4586..31f7151089a56b9d1047e65d10c6f48efdbccbb0 100644 (file)
@@ -970,7 +970,7 @@ static struct ioengine_ops ioengine_rw = {
        .options                = options,
        .option_struct_size     = sizeof(struct netio_options),
        .flags                  = FIO_SYNCIO | FIO_DISKLESSIO | FIO_UNIDIR |
        .options                = options,
        .option_struct_size     = sizeof(struct netio_options),
        .flags                  = FIO_SYNCIO | FIO_DISKLESSIO | FIO_UNIDIR |
-                                 FIO_PIPEIO,
+                                 FIO_PIPEIO | FIO_BIT_BASED,
 };
 
 static int str_hostname_cb(void *data, const char *input)
 };
 
 static int str_hostname_cb(void *data, const char *input)