Re: [PATCH v2] dm-integrity: if we have discard support, use it when recalculating

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

 



On Wednesday, 5 May 2021 22:05:35 CEST Mikulas Patocka wrote:
> Yes.

I fail to understand why that would be desired behaviour, as I see it it is 
conflicting with current documentation in integritysetup(8):

> --integrity-recalculate
> Automatically recalculate integrity tags in kernel on activation. The device
> can be used during automatic integrity recalculation but becomes fully
> integrity protected only after the background operation is finished. This
> option is available since the Linux kernel version 4.19.

The device in SSD with discard case never receives integrity protection 
because the metadata is filled with discard filler. Could you explain the 
reasoning behind the patch?

Thanks,

-- 
Melvin Vermeeren
Systems engineer

Attachment: signature.asc
Description: This is a digitally signed message part.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://listman.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