56b1ebf2d9
Add support for quickly loading a repetitive pattern into the dm-switch target. In the "set_regions_mappings" message, the user may now use "Rn,m" as one of the arguments. "n" and "m" are hexadecimal numbers. The "Rn,m" argument repeats the last "n" arguments in the following "m" slots. For example: dmsetup message switch 0 set_region_mappings 1000:1 :2 R2,10 is equivalent to dmsetup message switch 0 set_region_mappings 1000:1 :2 :1 :2 :1 :2 :1 :2 \ :1 :2 :1 :2 :1 :2 :1 :2 :1 :2 Requested-by: Jay Wang <jwang@nimblestorage.com> Tested-by: Jay Wang <jwang@nimblestorage.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> |
||
---|---|---|
.. | ||
cache-policies.txt | ||
cache.txt | ||
delay.txt | ||
dm-crypt.txt | ||
dm-flakey.txt | ||
dm-io.txt | ||
dm-log.txt | ||
dm-queue-length.txt | ||
dm-raid.txt | ||
dm-service-time.txt | ||
dm-uevent.txt | ||
era.txt | ||
kcopyd.txt | ||
linear.txt | ||
persistent-data.txt | ||
snapshot.txt | ||
statistics.txt | ||
striped.txt | ||
switch.txt | ||
thin-provisioning.txt | ||
verity.txt | ||
zero.txt |