Re: [PATCH] md/bitmap: resume array on backlog_store() error path

"yu kuai" <[email protected]> Fri, 31 Jul 2026 13:18:05 +0800
Newsgroups org.kernel.vger.linux-raid,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
=E5=9C=A8 2026/7/18 11:42, Chen Cheng =E5=86=99=E9=81=93:

> From: Chen Cheng<[email protected]>
>
> backlog_store() suspends the array before checking whether a write-mostly
> device exists. If no such device exists, the error path only unlocks
> reconfig_mutex and leaves the array suspended, blocking subsequent I/O.
>
> Use mddev_unlock_and_resume() to release both states.
>
> Fixes: 58226942ad3d ("md: use new apis to suspend array before mddev_crea=
te/destroy_serial_pool")
>
> Signed-off-by: Chen Cheng<[email protected]>
> ---
>   drivers/md/md-bitmap.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
Applied to md-7.3

--=20
Thanks,
Kuai