You are not logged in.
If I have the allow-discards flag in the LUKS header (set with cryptsetup open --allow-discards --persistent /dev/sdx y) with the sd-encrypt initramfs hook with the kernel cmdline parameter rd.luks.options=tpm2-measure-pcr=yes, will discards be enabled or not?
Offline
After testing, the answer is yes, discards will remain enabled.
The command line parameters compliment the LUKS header flags, they don't replace them.
Offline