APPLIED: [SRU][J][PATCH 0/4] Fix regression in ext4 online resize

Stefan Bader stefan.bader at canonical.com
Fri Feb 10 14:52:00 UTC 2023


On 25.01.23 01:05, Khalid Elmously wrote:
> BugLink: https://bugs.launchpad.net/bugs/2003816
> 
> A regression was introduced with de394a8665 "ext4: update s_overhead_clusters in the superblock during an on-line resize" in the 5.15 kernels. The issue was reported on AWS and on GCP but I believe all Jammy 5.15 kernels are affected.
> 
> 3 ext4 fixes were applied at the same time upstream. The actual fix for the reported issue is "ext4: fix bad checksum after online resize" change. I have not reproduced/tested the bigalloc or group descriptors issues but they fix regressions introduced by the same commit and seemed simple enough so I grabbed them as well. The group descriptors fix required a complicated pre-requisite patch which would have brought in a lot of unnecessary code, so I applied a much smaller version of it as a SAUCE patch instead.
> 
> 
> Confirmed that the reported issue is no longer reproducible with these changes.
> 
> 
> 
> Baokun Li (3):
>    ext4: fix bad checksum after online resize
>    ext4: fix corruption when online resizing a 1K bigalloc fs
>    ext4: fix corrupt backup group descriptors after online resize
> 
> Khalid Elmously (1):
>    UBUNTU: SAUCE: Export ext4_superblock_csum function
> 
>   fs/ext4/ext4.h   |  2 ++
>   fs/ext4/resize.c | 27 ++++++++++++++++++++-------
>   fs/ext4/super.c  |  2 +-
>   3 files changed, 23 insertions(+), 8 deletions(-)
> 

Applied to jammy:linux/master-next. Thanks.

-Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230210/ccf42b1e/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230210/ccf42b1e/attachment-0001.sig>


More information about the kernel-team mailing list