Skip to contentSkip to conversation

dm-delay: Update documentation for offsets

PATCH New Tomohiro Kusumi 1 participant 1 message Oct 20, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm-delay: Update documentation for offsets

Only delay params are mentioned in delay.txt. Mention offsets just like documents for linear and flakey do.

---
 Documentation/device-mapper/delay.txt |    1 +
 drivers/md/dm-delay.c                 |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
Documentation/device-mapper/delay.txt +1 -0
index 15adc55..a07b592 100644
@@ -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
drivers/md/dm-delay.c +1 -0
index b34f6e2..91e4cd2 100644
@@ -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)
Signature · 1 line
1.7.1