On Mon, 27 Oct 2025, Askar Safin wrote: > Mikulas Patocka <[email protected]>: > > Hi > > > > Does this patch fix it? > > > > Mikulas > > > > > > From: Mikulas Patocka <[email protected]> > > > > There was reported failure that hibernation doesn't work with > > dm-integrity. The reason for the failure is that the hibernation code > > doesn't issue the FLUSH bio - the data still sits in the dm-integrity > > cache and they are lost when poweroff happens. > > I tested this patch in Qemu on current master (43e9ad0c55a3). Also I > applied Mario's patch > https://lore.kernel.org/linux-pm/[email protected]/ . > It is needed, otherwise you get WARNING when you try to hibernate. > > The patch doesn't work. Yes, I see - the problem is harder than I thought. I've created two patches and I tested them that they work. So, you can try them. Mikulas
- dm bug: hibernate to swap located on dm-integrity doesn'... Askar Safin
- Re: dm bug: hibernate to swap located on dm-integri... Milan Broz
- Re: dm bug: hibernate to swap located on dm-int... Askar Safin
- Re: dm bug: hibernate to swap located on dm... Milan Broz
- Re: dm bug: hibernate to swap located on dm... Askar Safin
- Re: dm bug: hibernate to swap located on dm-int... Askar Safin
- [PATCH] pm-hibernate: flush block device cache when... Mikulas Patocka
- Re: [PATCH] pm-hibernate: flush block device ca... Askar Safin
- Re: [PATCH] pm-hibernate: flush block devic... Mikulas Patocka
- [PATCH 1/2] pm-hibernate: flush disk ca... Mikulas Patocka
- Re: [PATCH 1/2] pm-hibernate: flus... Askar Safin
- Re: [PATCH 1/2] pm-hibernate: ... Milan Broz
- Re: [PATCH 1/2] pm-hibernate: flus... Askar Safin
- Re: [PATCH 1/2] pm-hibernate: flus... Askar Safin
- Re: [PATCH 1/2] pm-hibernate: ... Mikulas Patocka
- [RFC PATCH 2/2] swsusp: make it possibl... Mikulas Patocka
- Re: [RFC PATCH 2/2] swsusp: make i... Askar Safin
- Re: [PATCH] pm-hibernate: flush block device ca... Rafael J. Wysocki
- Re: [PATCH] pm-hibernate: flush block devic... Christoph Hellwig
