sg: improve sg_write_mode option names
[fio.git] / engines / sg.c
index 3c4e986de734f443598467708f7c91b1c03f6bcb..d15b438fdc1a067a252ce0379ddcbb20c836d656 100644 (file)
@@ -124,14 +124,24 @@ static struct fio_option options[] = {
                            .oval = FIO_SG_WRITE,
                            .help = "Issue standard SCSI WRITE commands",
                          },
-                         { .ival = "verify",
+                         { .ival = "write_and_verify",
                            .oval = FIO_SG_WRITE_VERIFY,
                            .help = "Issue SCSI WRITE AND VERIFY commands",
                          },
-                         { .ival = "same",
+                         { .ival = "verify",
+                           .oval = FIO_SG_WRITE_VERIFY,
+                           .help = "Issue SCSI WRITE AND VERIFY commands. This "
+                                   "option is deprecated. Use write_and_verify instead.",
+                         },
+                         { .ival = "write_same",
                            .oval = FIO_SG_WRITE_SAME,
                            .help = "Issue SCSI WRITE SAME commands",
                          },
+                         { .ival = "same",
+                           .oval = FIO_SG_WRITE_SAME,
+                           .help = "Issue SCSI WRITE SAME commands. This "
+                                   "option is deprecated. Use write_same instead.",
+                         },
                          { .ival = "write_same_ndob",
                            .oval = FIO_SG_WRITE_SAME_NDOB,
                            .help = "Issue SCSI WRITE SAME(16) commands with NDOB flag set",