summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJunxiao Bi <junxiao.bi@oracle.com>2023-11-08 10:22:16 -0800
committerSong Liu <song@kernel.org>2023-11-27 15:46:51 -0800
commitbed9e27baf52a09b7ba2a3714f1e24e17ced386d (patch)
treeb6c8af2f11aeff72555ed8b614a3af82756ec03e /mm
parentd6e035aad6c09991da1c667fb83419329a3baed8 (diff)
downloadlinux-stable-bed9e27baf52a09b7ba2a3714f1e24e17ced386d.tar.gz
linux-stable-bed9e27baf52a09b7ba2a3714f1e24e17ced386d.tar.bz2
linux-stable-bed9e27baf52a09b7ba2a3714f1e24e17ced386d.zip
Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"
This reverts commit 5e2cf333b7bd5d3e62595a44d598a254c697cd74. That commit introduced the following race and can cause system hung. md_write_start: raid5d: // mddev->in_sync == 1 set "MD_SB_CHANGE_PENDING" // running before md_write_start wakeup it waiting "MD_SB_CHANGE_PENDING" cleared >>>>>>>>> hung wakeup mddev->thread ... waiting "MD_SB_CHANGE_PENDING" cleared >>>> hung, raid5d should clear this flag but get hung by same flag. The issue reverted commit fixing is fixed by last patch in a new way. Fixes: 5e2cf333b7bd ("md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d") Cc: stable@vger.kernel.org # v5.19+ Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com> Reviewed-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20231108182216.73611-2-junxiao.bi@oracle.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions