Re: [PATCH] block: Fix page refcounts for unaligned buffers in __bio_release_pages()

From: Tony Battersby
Date: Wed Mar 06 2024 - 10:04:06 EST


On 2/29/24 17:56, Greg Edwards wrote:
> On Thu, Feb 29, 2024 at 01:08:09PM -0500, Tony Battersby wrote:
>> 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: stable@xxxxxxxxxxxxxxx
>> Signed-off-by: Tony Battersby <tonyb@xxxxxxxxxxxxxxx>
>> ---
> This resolves the QEMU hugetlb issue I noted earlier today here [1].
> I tested it on 6.1.79, 6.8-rc6 and linux-next-20240229. Thank you!
>
> Feel free to add a:
>
> Tested-by: Greg Edwards <gedwards@xxxxxxx>
>
> [1] https://lore.kernel.org/linux-block/20240229182513.GA17355@xxxxxxxxxxxxxxxx/

Jens, can I get this added to 6.8 (or 6.9 if it is too late)?

Thanks,
Tony