提交 f49e869a 编写于 作者: T Tomohiro Kusumi 提交者: Mike Snitzer

dm delay: document that offsets are specified in sectors

Only delay params are mentioned in delay.txt.
Mention offsets just like documents for linear and flakey do.
Signed-off-by: NTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: NMike Snitzer <snitzer@redhat.com>
上级 e213f33e
...@@ -8,6 +8,7 @@ Parameters: ...@@ -8,6 +8,7 @@ Parameters:
<device> <offset> <delay> [<write_device> <write_offset> <write_delay>] <device> <offset> <delay> [<write_device> <write_offset> <write_delay>]
With separate write parameters, the first set is only used for reads. With separate write parameters, the first set is only used for reads.
Offsets are specified in sectors.
Delays are specified in milliseconds. Delays are specified in milliseconds.
Example scripts Example scripts
......
...@@ -122,6 +122,7 @@ static void flush_expired_bios(struct work_struct *work) ...@@ -122,6 +122,7 @@ static void flush_expired_bios(struct work_struct *work)
* <device> <offset> <delay> [<write_device> <write_offset> <write_delay>] * <device> <offset> <delay> [<write_device> <write_offset> <write_delay>]
* *
* With separate write parameters, the first set is only used for reads. * With separate write parameters, the first set is only used for reads.
* Offsets are specified in sectors.
* Delays are specified in milliseconds. * Delays are specified in milliseconds.
*/ */
static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册