dm delay: document that offsets are specified in sectors
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 27 Oct 2015 19:38:56 +0000 (04:38 +0900)
committerMike Snitzer <snitzer@redhat.com>
Sat, 31 Oct 2015 23:06:05 +0000 (19:06 -0400)
Only delay params are mentioned in delay.txt.
Mention offsets just like documents for linear and flakey do.

Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Documentation/device-mapper/delay.txt
drivers/md/dm-delay.c

index 15adc55359e524dc43f0dfd4d9cdc6a436233724..a07b5927f4a88be767c146bd4d5ee259eadf3cf2 100644 (file)
@@ -8,6 +8,7 @@ Parameters:
     <device> <offset> <delay> [<write_device> <write_offset> <write_delay>]
 
 With separate write parameters, the first set is only used for reads.
+Offsets are specified in sectors.
 Delays are specified in milliseconds.
 
 Example scripts
index 9a4362d535087c2a5424cf4ca30cfd1332607d75..b4c356a21123051d1716ca25badb13cfe78b4e26 100644 (file)
@@ -122,6 +122,7 @@ static void flush_expired_bios(struct work_struct *work)
  *    <device> <offset> <delay> [<write_device> <write_offset> <write_delay>]
  *
  * With separate write parameters, the first set is only used for reads.
+ * Offsets are specified in sectors.
  * Delays are specified in milliseconds.
  */
 static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv)