Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Miroslav Cimerman <mc@raidlab.org>
To: josef@toxicpanda.com
Cc: boris@bur.io, ce3g8jdj@umail.furryterror.org, dsterba@suse.com,
	fdmanana@suse.com, johannes.thumshirn@wdc.com,
	linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org,
	mason@kernel.org, naohiro.aota@wdc.com, stable@vger.kernel.org,
	wqu@suse.com
Subject: Re: [PATCH v3 1/6] btrfs: don't drop the error of the last split bio
Date: Mon, 23 Nov 2026 20:08:18 +0100	[thread overview]
Message-ID: <20261123190818.2841562-1-mc@raidlab.org> (raw)
In-Reply-To: <20261120-b4-btrfs-data-integrity-v3-1-4de4b91b826e@toxicpanda.com>

I hit this on a RAID10 file system (not zoned, 4 null_blk devices) with
bad blocks on both copies of one mirror pair, on for-next 65101fe10b30.
Reading four 1 MiB files with dd returned EIO. After
"echo 3 > /proc/sys/vm/drop_caches", sha1sum of the same files returned
no error and a wrong hash for each file, in 2 of 2 runs. A dd of one of
them right after returned all 1 MiB with about half of the bytes wrong.

With this patch, all of these reads failed with EIO, in 2 of 2 runs.

Tested-by: Miroslav Cimerman <mc@raidlab.org>

  reply	other threads:[~2026-11-23 19:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 20:51 [PATCH v3 0/6] btrfs: data integrity fixes Josef Bacik
2026-11-20 20:51 ` [PATCH v3 1/6] btrfs: don't drop the error of the last split bio Josef Bacik
2026-11-23 19:08   ` Miroslav Cimerman [this message]
2026-11-20 20:51 ` [PATCH v3 2/6] btrfs: clear dirty blocks after a delalloc failure Josef Bacik
2026-11-20 20:51 ` [PATCH v3 3/6] btrfs: make fsync wait for all incomplete COW writes Josef Bacik
2026-11-21 21:00   ` Qu Wenruo
2026-11-23 11:19   ` Filipe Manana
2026-11-20 20:51 ` [PATCH v3 4/6] btrfs: wait for ordered extent IO in fast fsync Josef Bacik
2026-11-21 21:09   ` Qu Wenruo
2026-11-23 11:20   ` Filipe Manana
2026-11-20 20:51 ` [PATCH v3 5/6] btrfs: don't report success for a skipped log sync Josef Bacik
2026-11-20 20:51 ` [PATCH v3 6/6] btrfs: don't trim the target of a device replace Josef Bacik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261123190818.2841562-1-mc@raidlab.org \
    --to=mc@raidlab.org \
    --cc=boris@bur.io \
    --cc=ce3g8jdj@umail.furryterror.org \
    --cc=dsterba@suse.com \
    --cc=fdmanana@suse.com \
    --cc=johannes.thumshirn@wdc.com \
    --cc=josef@toxicpanda.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mason@kernel.org \
    --cc=naohiro.aota@wdc.com \
    --cc=stable@vger.kernel.org \
    --cc=wqu@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox