summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2021-03-23 10:59:45 -0400
committerMike Snitzer <snitzer@redhat.com>2021-03-26 14:53:42 -0400
commitdb7b93e38106e58ac2ea24eaaea7ed760a319120 (patch)
treeae68290414e5ca5503de7ea366d61d39e0e26786 /tools/perf/scripts/python/export-to-sqlite.py
parentece2577388334dd5e8d59cb46895f9573bc4b808 (diff)
dm integrity: add the "reset_recalculate" feature flag
Add a new flag "reset_recalculate" that will restart recalculating from the beginning of the device. It can be used if we want to change the hash function. Example: dmsetup remove_all rmmod brd set -e modprobe brd rd_size=1048576 dmsetup create in --table '0 2000000 integrity /dev/ram0 0 16 J 2 internal_hash:sha256 recalculate' sleep 10 dmsetup status dmsetup remove in dmsetup create in --table '0 2000000 integrity /dev/ram0 0 16 J 2 internal_hash:sha3-256 reset_recalculate' Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions