Messages in this thread | | | From | Song Liu <> | Date | Wed, 10 Apr 2024 14:37:36 -0700 | Subject | Re: [PATCH] md/raid5: fix deadlock that raid5d() wait for itself to clear MD_SB_CHANGE_PENDING |
| |
On Fri, Mar 22, 2024 at 1:17 AM Yu Kuai <yukuai1@huaweicloud.com> wrote: [...] > > Refer to the implementation from raid1 and raid10, fix this problem by > skipping issue IO if MD_SB_CHANGE_PENDING is still set after > md_check_recovery(), daemon thread will be woken up when 'reconfig_mutex' > is released. Meanwhile, the hang problem will be fixed as well. > > Fixes: 5e2cf333b7bd ("md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d") > Reported-and-tested-by: Dan Moulding <dan@danm.net> > Closes: https://lore.kernel.org/all/20240123005700.9302-1-dan@danm.net/ > Investigated-by: Junxiao Bi <junxiao.bi@oracle.com> > Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Applied to md-6.10. Thanks!
Song
| |