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't ... Askar Safin
- Re: dm bug: hibernate to swap located on dm-integrity... Milan Broz
- Re: dm bug: hibernate to swap located on dm-integ... Askar Safin
- Re: dm bug: hibernate to swap located on dm-i... Milan Broz
- Re: dm bug: hibernate to swap located on dm-i... Askar Safin
- Re: dm bug: hibernate to swap located on dm-integ... Askar Safin
- [PATCH] pm-hibernate: flush block device cache when h... Mikulas Patocka
- Re: [PATCH] pm-hibernate: flush block device cach... Askar Safin
- Re: [PATCH] pm-hibernate: flush block device ... Mikulas Patocka
- [PATCH 1/2] pm-hibernate: flush disk cach... Mikulas Patocka
- Re: [PATCH 1/2] pm-hibernate: flush ... Askar Safin
- Re: [PATCH 1/2] pm-hibernate: fl... Milan Broz
- Re: [PATCH 1/2] pm-hibernate: flush ... Askar Safin
- Re: [PATCH 1/2] pm-hibernate: flush ... Askar Safin
- Re: [PATCH 1/2] pm-hibernate: fl... Mikulas Patocka
- [RFC PATCH 2/2] swsusp: make it possible ... Mikulas Patocka
- Re: [RFC PATCH 2/2] swsusp: make it ... Askar Safin
- Re: [RFC PATCH 2/2] swsusp: make it ... Askar Safin
- Re: [RFC PATCH 2/2] swsusp: make... Milan Broz
