Skip to content

btrfs: raid56: backports to reduce corruption

Qu Wenruo linux-btrfs stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: only write the sectors in the vertical stripe which has data stripesfs/btrfs/raid56.c+51 -40 replies
2/2btrfs: raid56: don't trust any cached sector in __raid56_parity_recover()fs/btrfs/raid56.c+6 -130 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDavid Sterba
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH STABLE 5.18 0/2] btrfs: raid56: backports to reduce corruption

This is the backport for v5.18.x stable branch.

The full explananation can be found here:
https://lore.kernel.org/linux-btrfs/[email protected]/T/#t

Difference between v5.18.x and v5.19.x backports:

- Subpage sector::uptodate related changes
Since v5.18 and older branches doesn't support subpage RAID56, these uptodate checks are now in their older PageUptodate form.

- Various member naming changes
Like btrfs_raid_bio::stripe_npages -> stripe_nsector.

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(-)
Signature · 1 line
2.37.1