linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH STABLE 5.18 0/2] btrfs: raid56: backports to reduce corruption
@ 2022-08-19  7:40 Qu Wenruo
  2022-08-19  7:40 ` [PATCH STABLE 5.18 1/2] btrfs: only write the sectors in the vertical stripe which has data stripes Qu Wenruo
  2022-08-19  7:40 ` [PATCH STABLE 5.18 2/2] btrfs: raid56: don't trust any cached sector in __raid56_parity_recover() Qu Wenruo
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2022-08-19  7:40 UTC (permalink / raw)
  To: linux-btrfs, stable

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

The full explananation can be found here:
https://lore.kernel.org/linux-btrfs/Yv85PTBsDhrQITZp@kroah.com/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(-)

-- 
2.37.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-19  7:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-19  7:40 [PATCH STABLE 5.18 0/2] btrfs: raid56: backports to reduce corruption Qu Wenruo
2022-08-19  7:40 ` [PATCH STABLE 5.18 1/2] btrfs: only write the sectors in the vertical stripe which has data stripes Qu Wenruo
2022-08-19  7:40 ` [PATCH STABLE 5.18 2/2] btrfs: raid56: don't trust any cached sector in __raid56_parity_recover() Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).