Thread (9 messages) 9 messages, 4 authors, 2023-09-05

Re: [PATCH] Fix race of "mdadm --add" and "mdadm --incremental"

From: Jes Sorensen <hidden>
Date: 2023-09-01 16:11:53

On 5/11/23 10:37, Li Xiao Keng wrote:

On 2023/5/8 21:35, Martin Wilck wrote:
quoted
quoted
-       if (map_lock(&map))
+       if (map_lock(&map)) {
                pr_err("failed to get exclusive lock on mapfile -
continue anyway...\n");
As you added a "return 1" here, the "continue anyway" message is wrong.
You need to change it.
After resolving doubts of Coly Li, I will change it to

pr_err("failed to get exclusive lock on mapfile when assemble raid.")

Regards,
Li Xiao Keng
Hi Li,

Did you ever post an updated version?

Thanks,
Jes

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