mbox series

[STABLE,4.14,0/2] btrfs: raid56: backporst to reduce corruption

Message ID cover.1660985049.git.wqu@suse.com (mailing list archive)
Headers show
Series btrfs: raid56: backporst to reduce corruption | expand

Message

Qu Wenruo Aug. 20, 2022, 8:49 a.m. UTC
This is the backport for v4.19.x stable branch.

The full explananation can be found here:
https://lore.kernel.org/linux-btrfs/cover.1660891713.git.wqu@suse.com/

No code change between v4.14.x and v4.19.x, at least nothing git can not
auto-resolve.

Testing wise, this is beyond my testing environment.
Although latest GCC compiles without problem, the result kernel can not
be properly boot at all, not even any kernel early boot message.

I'm not sure if this is something related to latest edk2 UEFI or
something else, I can no longer do proper testing for any older branch,
including this 4.19 one.

Thus I can not do any guarantee on these backports, unfortunately
the backports can only go to v5.x branches for now.

Unless anyone has better ideas how to build and run older kernels with
latest edk2 UEFI environment.

Qu Wenruo (2):
  btrfs: only write the sectors in the vertical stripe which has data
    stripes
  btrfs: raid56: don't trust any cached sector in
    __raid56_parity_recover()

 fs/btrfs/raid56.c | 74 ++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 57 insertions(+), 17 deletions(-)

Comments

Greg KH Aug. 23, 2022, 7:24 a.m. UTC | #1
On Sat, Aug 20, 2022 at 04:49:21PM +0800, Qu Wenruo wrote:
> This is the backport for v4.19.x stable branch.
> 
> The full explananation can be found here:
> https://lore.kernel.org/linux-btrfs/cover.1660891713.git.wqu@suse.com/
> 
> No code change between v4.14.x and v4.19.x, at least nothing git can not
> auto-resolve.
> 
> Testing wise, this is beyond my testing environment.
> Although latest GCC compiles without problem, the result kernel can not
> be properly boot at all, not even any kernel early boot message.
> 
> I'm not sure if this is something related to latest edk2 UEFI or
> something else, I can no longer do proper testing for any older branch,
> including this 4.19 one.
> 
> Thus I can not do any guarantee on these backports, unfortunately
> the backports can only go to v5.x branches for now.
> 
> Unless anyone has better ideas how to build and run older kernels with
> latest edk2 UEFI environment.
> 
> Qu Wenruo (2):
>   btrfs: only write the sectors in the vertical stripe which has data
>     stripes
>   btrfs: raid56: don't trust any cached sector in
>     __raid56_parity_recover()
> 
>  fs/btrfs/raid56.c | 74 ++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 57 insertions(+), 17 deletions(-)
> 
> -- 
> 2.37.1
> 

All backports now queued up, thanks.

greg k-h