commit | 84597a44a9d86ac949900441cea7da0af0f2f473 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Sun Mar 22 20:42:26 2020 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Mar 24 13:05:25 2020 -0400 |
tree | a54ad6f1c099de446541fbdf7046bf46fdd2fabd | |
parent | 1ac2c15a7bf859b92de269ba58597c94ce10811f [diff] |
dm integrity: add optional discard support Add an argument "allow_discards" that enables discard processing on dm-integrity device. Discards are only allowed to devices using internal hash. When a block is discarded the integrity tag is filled with DISCARD_FILLER (0xf6) bytes. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>