diff options
author | Mikulas Patocka <[email protected]> | 2021-03-23 10:59:45 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2021-03-26 14:53:42 -0400 |
commit | db7b93e38106e58ac2ea24eaaea7ed760a319120 (patch) | |
tree | ae68290414e5ca5503de7ea366d61d39e0e26786 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ece2577388334dd5e8d59cb46895f9573bc4b808 (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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions