commit | 583fe7474c05ee5523e14ef791ea59604cd846dc | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Tue Apr 18 16:51:54 2017 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Apr 24 12:04:34 2017 -0400 |
tree | 0d82a5b361093c3ddc3c791d08494334338210ec | |
parent | 9d609f85b7eb96697ae22ad1d47a3a3920174ba8 [diff] |
dm crypt: fix large block integrity support Previously, dm-crypt could use blocks composed of multiple 512b sectors but it created integrity profile for each 512b sector (it padded it with zeroes). Fix dm-crypt so that the integrity profile is sent for each block not each sector. The user must use the same block size in the DM crypt and integrity targets. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>