On 2023/5/8 21:35, Martin Wilck wrote: >> - 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