diff options
author | Mikulas Patocka | 2020-03-22 20:42:26 +0100 |
---|---|---|
committer | Mike Snitzer | 2020-03-24 13:05:25 -0400 |
commit | 84597a44a9d86ac949900441cea7da0af0f2f473 (patch) | |
tree | a54ad6f1c099de446541fbdf7046bf46fdd2fabd /drivers/md/raid10.c | |
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>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions