Thread (23 messages) 23 messages, 5 authors, 2022-03-03

Re: [PATCH 2/3] md: Set MD_BROKEN for RAID1 and RAID10

From: Mariusz Tkaczyk <hidden>
Date: 2022-01-31 09:06:17

Hi Xiao,
Thanks for review.

On Mon, 31 Jan 2022 16:29:27 +0800
Xiao Ni [off-list ref] wrote:
quoted
+
        if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev
            && !enough(conf, rdev->raid_disk)) {
The check of mddev->fail_last_dev should be removed here.
Ohh, my bad. I mainly tested it on RAID1 and didn't notice it.
Thanks!
quoted
-               /*
-                * Don't fail the drive, just return an IO error.
-                */
It's the same. These comments can directly give people notes. raid10
will return bio here with an error. Is it better to keep them here?
Sure, let wait for Song opinion first and then I will send v4.

Mariusz


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help