File tree Expand file tree Collapse file tree
Documentation/admin-guide/device-mapper Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33========
44
55Device-Mapper's "delay" target delays reads and/or writes
6- and/or flushs and optionally maps them to different devices.
6+ and/or flushes and optionally maps them to different devices.
77
88Arguments::
99
@@ -40,15 +40,15 @@ Example scripts
4040 #!/bin/sh
4141 #
4242 # Create mapped device delaying write and flush operations for 400ms and
43- # splitting reads to device $1 but writes and flushs to different device $2
43+ # splitting reads to device $1 but writes and flushes to different device $2
4444 # to different offsets of 2048 and 4096 sectors respectively.
4545 #
4646 dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 2048 0 $2 4096 400"
4747
4848::
4949 #!/bin/sh
5050 #
51- # Create mapped device delaying reads for 50ms, writes for 100ms and flushs for 333ms
51+ # Create mapped device delaying reads for 50ms, writes for 100ms and flushes for 333ms
5252 # onto the same backing device at offset 0 sectors.
5353 #
5454 dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 50 $2 0 100 $1 0 333"
You can’t perform that action at this time.
0 commit comments