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.
Your patchset is impossible to apply using "b4 shazam". Here is what I get when I try to apply it using "b4 shazam": d-user@comp:/tmp$ git clone --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Cloning into 'linux'... remote: Enumerating objects: 96577, done. remote: Counting objects: 100% (96577/96577), done. remote: Compressing objects: 100% (93936/93936), done. remote: Total 96577 (delta 7530), reused 20945 (delta 1607), pack-reused 0 (from 0) Receiving objects: 100% (96577/96577), 267.21 MiB | 1.85 MiB/s, done. Resolving deltas: 100% (7530/7530), done. Updating files: 100% (91166/91166), done. d-user@comp:/tmp$ cd linux d-user@comp:/tmp/linux$ b4 shazam '[email protected]' Grabbing thread from lore.kernel.org/all/[email protected]/t.mbox.gz Checking for newer revisions Grabbing search results from lore.kernel.org Analyzing 15 messages in the thread WARNING: duplicate messages found at index 1 Subject 1: pm-hibernate: flush block device cache when hibernating Subject 2: pm-hibernate: flush disk cache when suspending 2 is not a reply... assume additional patch WARNING: duplicate messages found at index 2 Subject 1: swsusp: make it possible to hibernate to device mapper devices Subject 2: pm-hibernate: flush disk cache when suspending 2 is not a reply... assume additional patch Checking attestation on all messages, may take a moment... --- ✓ [PATCH] pm-hibernate: flush block device cache when hibernating ✓ Signed: DKIM/redhat.com ✓ [PATCH RFC 2/2] swsusp: make it possible to hibernate to device mapper devices ✓ Signed: DKIM/redhat.com ✓ [PATCH 1/2] pm-hibernate: flush disk cache when suspending ✓ Signed: DKIM/redhat.com ERROR: missing [4/3]! --- Total patches: 3 --- WARNING: Thread incomplete! Applying: pm-hibernate: flush block device cache when hibernating Applying: swsusp: make it possible to hibernate to device mapper devices Patch failed at 0002 swsusp: make it possible to hibernate to device mapper devices error: patch failed: kernel/power/swap.c:1591 error: kernel/power/swap.c: patch does not apply hint: Use 'git am --show-current-patch=diff' to see the failed patch hint: When you have resolved this problem, run "git am --continue". hint: If you prefer to skip this patch, run "git am --skip" instead. hint: To restore the original branch and stop patching, run "git am --abort". hint: Disable this message with "git config advice.mergeConflict false" It seems you should send patches not as a reply. But I will apply your patches anyway, no need to resubmit. -- Askar Safin
