All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: scrub: improving read-only and write failure report
@ 2026-11-28 22:46 Qu Wenruo
  2026-11-28 22:46 ` [PATCH 1/2] btrfs: scrub: reset write_error_bitmap for a new stripe Qu Wenruo
  2026-11-28 22:46 ` [PATCH 2/2] btrfs: scrub: report read-only and failed write correctly Qu Wenruo
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2026-11-28 22:46 UTC (permalink / raw)
  To: linux-btrfs

The first patch is a bug that scrub_stripe::write_error_bitmap is never
cleared even we have moved to a new stripe.

Thankfully the bug has limited affect.

The second patch is to report read-only and failed write as
uncorrectable errors, according to the existing comment in the UABI
header.

This is not the best solution, but that's what we can do before we
expand btrfs_scrub_progress structure.

Qu Wenruo (2):
  btrfs: scrub: reset write_error_bitmap for a new stripe
  btrfs: scrub: report read-only and failed write correctly

 fs/btrfs/scrub.c | 61 +++++++++++++++++++++++++++++++++++-------------
 1 file changed, 45 insertions(+), 16 deletions(-)

-- 
2.56.1


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

end of thread, other threads:[~2026-11-28 22:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 22:46 [PATCH 0/2] btrfs: scrub: improving read-only and write failure report Qu Wenruo
2026-11-28 22:46 ` [PATCH 1/2] btrfs: scrub: reset write_error_bitmap for a new stripe Qu Wenruo
2026-11-28 22:46 ` [PATCH 2/2] btrfs: scrub: report read-only and failed write correctly Qu Wenruo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.