Bug 1211815 - xfs corruption when stripe alignment specified
Summary: xfs corruption when stripe alignment specified
Status: RESOLVED FIXED
Alias: None
Product: Granite
Classification: SUSE ALP - SUSE Adaptable Linux Platform
Component: Kernel (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Major
Target Milestone: ---
Assignee: Anthony Iliopoulos
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-30 08:57 UTC by Jan Kara
Modified: 2023-05-30 09:33 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kara 2023-05-30 08:57:02 UTC
A bug has been introduced in 6.3 kernel in XFS filesystem which can cause page writeback to write blocks to incorrect place and as a result cause filesystem corruption which was actually observed in the wild by multiple users.

More details can be found in Fedora bugzilla here: https://bugzilla.redhat.com/show_bug.cgi?id=2208553

The commit fixing the issue is 9419092fb263 ("xfs: fix livelock in delayed allocation at ENOSPC").
Comment 1 Jan Kara 2023-05-30 08:59:03 UTC
Anthony, can you please make sure this gets merged to the ALP kernel sooner rather than later? Given the policy around XFS and stable trees I'm not sure when the fix gets there and through there to our ALP branch... Thanks!
Comment 2 Anthony Iliopoulos 2023-05-30 09:30:47 UTC
(In reply to Jan Kara from comment #1)
> Anthony, can you please make sure this gets merged to the ALP kernel sooner
> rather than later? Given the policy around XFS and stable trees I'm not sure
> when the fix gets there and through there to our ALP branch... Thanks!

It's already queued for stable [1], but I suppose it doesn't hurt to have it already while waiting for v6.3.5 to be tagged.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-6.3/xfs-fix-livelock-in-delayed-allocation-at-enospc.patch
Comment 3 Anthony Iliopoulos 2023-05-30 09:33:27 UTC
Well, Jiri was faster than me, so it is now in ALP-current [1] :-)

[1] commit 2c66b1f47067 ("xfs: fix livelock in delayed allocation at ENOSPC (brc#2208553 xfs-issue).")