mbox series

[STABLE,4.19,0/2] btrfs: raid56: backports to reduce corruption

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

Message

Qu Wenruo Aug. 20, 2022, 7 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 v5.4.x and v4.19.x, at least nothing git can not
auto-resolve.

Testing wise, there are more test failures, as their coressponding fixes
are not backported.

Despite that no new regression so far.

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(-)