Re: [PATCH] btrfs: count failed RAID1 scrub repair writes as uncorrectable

From: Wesley Atwell

Date: Sat Nov 28 2026 - 18:31:24 EST


Hi Qu,

Thanks for reviewing the patch and putting together your subsequent
two-patch series.

Moving the reset into scrub_stripe_reset_bitmaps() is a cleaner
approach, and I appreciate the additional handling of read-only
scrub. Your feedback regarding the unnecessary locking is also
helpful, and I will incorporate it into future contributions.

The AI disclosure and verification details were included in good
faith to follow the kernel's published guidelines:

https://docs.kernel.org/process/generated-content.html
https://docs.kernel.org/process/coding-assistants.html

I recognize that this information could have been presented more
concisely, and I will improve that going forward while maintaining
the transparency encouraged by the documentation.

I welcome technical criticism and recognize that I have more to
learn. I would, however, appreciate keeping future discussions
focused on the technical merits of the contribution rather than
assumptions about my knowledge or abilities.

Ultimately, my objective was to identify genuine defects and
contribute toward improving the kernel. I am glad that the
investigation uncovered two real issues and that your series
addresses both of them.

I have no objection to a better implementation replacing mine.
Getting the defects corrected is more important to me than whose
implementation is ultimately merged.

Since your series addresses both findings, I do not intend to
submit a competing revision.

Thank you for taking the time to address these issues.

Regards,
Wesley