Re: [PATCH 1/2] pm-hibernate: flush disk cache when suspending

Milan Broz <[email protected]> Sat, 22 Nov 2025 14:51:50 +0100
Newsgroups dev.linux.lists.lvm-devel,dev.linux.lists.dm-devel,dev.linux.lists.linux-lvm,org.kernel.vger.linux-block,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-crypto,org.kernel.vger.linux-pm,org.kernel.vger.linux-raid,org.kvack.linux-mm
Message-ID <[email protected]>
On 11/3/25 4:53 PM, Askar Safin wrote:
> Mikulas Patocka <[email protected]>:
>> [PATCH 1/2] pm-hibernate: flush disk cache when suspending
>>
>> There was reported failure that suspend doesn't work with dm-integrity.
>> The reason for the failure is that the suspend code doesn't issue the
>> FLUSH bio - the data still sits in the dm-integrity cache and they are
>> lost when poweroff happens.
> 
> Thank you! I hope I will test this within 2 weeks.

Hello,

Did you manage to test the patches?

This issue should not be forgotten, as dm-integrity corrupts data during suspend.

Thanks,
Milan