Re: Scrubbing "check" not working for RAID10 in 3.10-rc1+
From: Brassow Jonathan <hidden>
Date: 2013-07-17 18:24:55
On Jul 16, 2013, at 2:01 AM, NeilBrown wrote:
On Mon, 15 Jul 2013 10:35:07 -0500 Brassow Jonathan [off-list ref] wrote:quoted
On Jun 25, 2013, at 1:32 AM, NeilBrown wrote:quoted
On Tue, 25 Jun 2013 01:19:20 -0500 Jonathan Brassow [off-list ref] wrote:quoted
Neil, I've noticed that the "check" operation no longer works for RAID10. It works just fine for the other RAIDs. The ("data-check") sync_thread kicks off just fine, sync_request_write() is called, but it never gets past: if (i == conf->copies) goto done; The test I am performing creates a RAID array, waits for it to sync, shuts it down, writes random data to one of the devices, assembles the array, and then runs a "check" - there should be descrepancies. The descrepancies are found and recorded in resync_mismatches for all RAIDs <= 3.9 and only for non-RAID10 3.10-rc1+.I just tried on 3.10-rc5+ and it works as expected. If you can provide a test script that fails, I'll look into it.Just tried 3.10 - it fails for me there too. I'll send you the script I use shortly. thanks, brassow (vacation ends soon.):-) Thanks. This patch seems to fix it.
Yes, it does. Thanks! brassow