Skip to content

2.39: libblkid: (bcache) also calculate checksum over journal buckets #2293

Merged
karelzak merged 2 commits intoutil-linux:stable/v2.39from
t-8ch:2.39/bcache
Jun 5, 2023
Merged

2.39: libblkid: (bcache) also calculate checksum over journal buckets #2293
karelzak merged 2 commits intoutil-linux:stable/v2.39from
t-8ch:2.39/bcache

Conversation

@t-8ch
Copy link
Copy Markdown
Member

@t-8ch t-8ch commented Jun 3, 2023

bugfix-only version of #2292 for 2.39.

t-8ch added 2 commits June 3, 2023 18:44
We will need it for the correct checksum calculation.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Fixes util-linux#2291

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
@karelzak karelzak merged commit 16e5dcc into util-linux:stable/v2.39 Jun 5, 2023
K900 pushed a commit to NixOS/nixpkgs that referenced this pull request Jun 10, 2023
In util-linux 2.39, blkid was improved to verify the checksums for
several types of block devices. In the bcache case, this calculation was
incorrect, leading to a regression where valid bcache cache devices
would not be detected any more. In some cases, this can even break the
boot because a required bcache device does not come up any more.

In util-linux/util-linux#2293, a fix was
introduced upstream. Include these patches to make bcache detection work
properly again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants