mbox series

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

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

Message

Qu Wenruo Aug. 20, 2022, 6:34 a.m. UTC
This is the backport for v5.4.x stable branch.

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

These backport have no change compared to v5.10.x backports (at least
nothing git can not auto-resolve).

While the testing part shows some extra warning in btrfs/162, it's the
existing show_dev_name related RCU string accesss problem, not something
new regression caused by these backports.

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