diff options
author | Tomohiro Kusumi <kusumi.tomohiro@gmail.com> | 2015-10-28 04:38:56 +0900 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-10-31 19:06:05 -0400 |
commit | f49e869a61829b8ac6eb069b3824f738cd0146e6 (patch) | |
tree | 71129304248f0a2d1ba27d7fac0cf392c94e29d3 | |
parent | e213f33e4d3a00e9916a58e0fff367a7c60e3c9c (diff) | |
download | op-kernel-dev-f49e869a61829b8ac6eb069b3824f738cd0146e6.zip op-kernel-dev-f49e869a61829b8ac6eb069b3824f738cd0146e6.tar.gz |
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: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
-rw-r--r-- | Documentation/device-mapper/delay.txt | 1 | ||||
-rw-r--r-- | drivers/md/dm-delay.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/device-mapper/delay.txt b/Documentation/device-mapper/delay.txt index 15adc55..a07b592 100644 --- a/Documentation/device-mapper/delay.txt +++ b/Documentation/device-mapper/delay.txt @@ -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 diff --git a/drivers/md/dm-delay.c b/drivers/md/dm-delay.c index 9a4362d..b4c356a 100644 --- a/drivers/md/dm-delay.c +++ b/drivers/md/dm-delay.c @@ -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) |