Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f49e869a authored by Tomohiro Kusumi's avatar Tomohiro Kusumi Committed by Mike Snitzer
Browse files

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: default avatarTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent e213f33e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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)