Comment 1 for bug 2062556

Revision history for this message
Frank Heimes (fheimes) wrote :

I just had a look at noble's master-next tree:
$ git remote get-url origin
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble
$ git branch
* master-next

and found that commit 19c1ceeca8ed is already applied:
$ git log --oneline | grep -n "block: Fix page refcounts for unaligned buffers in __bio_release_pages"
300:19c1ceeca8ed block: Fix page refcounts for unaligned buffers in __bio_release_pages()

but not yet tagged with (incl. in) any version:
$ git tag --contains 19c1ceeca8ed
$

This is probably because it just came in via upstream stable updates:
$ git show 19c1ceeca8ed | sed '/^diff --git/q'
commit 19c1ceeca8ed31d207859e659482ee83ea1959f5
Author: Tony Battersby <email address hidden>
Date: Thu Feb 29 13:08:09 2024 -0500

    block: Fix page refcounts for unaligned buffers in __bio_release_pages()

    BugLink: https://bugs.launchpad.net/bugs/2060531

    [ Upstream commit 38b43539d64b2fa020b3b9a752a986769f87f7a6 ]

    Fix an incorrect number of pages being released for buffers that do not
    start at the beginning of a page.

    Fixes: 1b151e2435fc ("block: Remove special-casing of compound pages")
    Cc: <email address hidden>
    Signed-off-by: Tony Battersby <email address hidden>
    Tested-by: Greg Edwards <email address hidden>
    Link: https://<email address hidden>
    Signed-off-by: Jens Axboe <email address hidden>
    Signed-off-by: Sasha Levin <email address hidden>
    Signed-off-by: Paolo Pisati <email address hidden>

diff --git a/block/bio.c b/block/bio.c

And since the lastest tagged Ubuntu kernel version in master-next is: Ubuntu-6.8.0-31.31
$ git log --oneline | grep -n $(git describe --tags --abbrev=0)
1170:7fdb45c9bbbc (tag: Ubuntu-6.8.0-31.31) UBUNTU: Ubuntu-6.8.0-31.31

commit 19c1ceeca8ed will be automatically part of the next/upcoming Ubuntu kernel (> Ubuntu-6.8.0-31.31).

With that I'm updating the status of this bug to Fix Committed.