On Tue, May 07 2019 at  2:28pm -0400,
Mikulas Patocka <[email protected]> wrote:

> When we use separate devices for data and metadata, dm-integrity would
> incorrectly calculate the size of the metadata device as if it had
> 512-byte block size - and it would refuse activation with larger block
> size and smaller metadata device.
> 
> This patch fixes it so that it takes actual block size into account.
> 
> It fixes https://gitlab.com/cryptsetup/cryptsetup/issues/450
> 
> Signed-off-by: Mikulas Patocka <[email protected]>
> Cc: [email protected]    # v4.19+
> Fixes: 356d9d52e122 ("dm integrity: allow separate metadata device")

Applied, and I rebased your bitmap patches ontop of it.

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to