Re: dm-integrity: correctly calculate the size of metadata area

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 07 2019 at  2:28pm -0400,
Mikulas Patocka <mpatocka@xxxxxxxxxx> 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@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx	# v4.19+
> Fixes: 356d9d52e122 ("dm integrity: allow separate metadata device")

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

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux