Re: [PATCH] md/bitmap: resume array on backlog_store() error path
From: yu kuai
Date: Sun Jul 19 2026 - 06:32:36 EST
在 2026/7/18 11:42, Chen Cheng 写道:
> From: Chen Cheng<chencheng@xxxxxxxxx>
>
> 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_create/destroy_serial_pool")
>
> Signed-off-by: Chen Cheng<chencheng@xxxxxxxxx>
> ---
> drivers/md/md-bitmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Yu Kuai <yukuai@xxxxxxx>
--
Thanks,
Kuai