[dm-devel] dm-integrity: correctly calculate the size of metadata area
Mike Snitzer
snitzer at redhat.com
Tue May 7 18:49:34 UTC 2019
On Tue, May 07 2019 at 2:28pm -0400,
Mikulas Patocka <mpatocka at redhat.com> 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 <mpatocka at redhat.com>
> Cc: stable at vger.kernel.org # v4.19+
> Fixes: 356d9d52e122 ("dm integrity: allow separate metadata device")
Applied, and I rebased your bitmap patches ontop of it.
More information about the dm-devel
mailing list