Re: [PATCH] md/bitmap: resume array on backlog_store() error path
"yu kuai" <[email protected]> Sun, 19 Jul 2026 18:32:05 +0800
| Newsgroups | org.kernel.vger.linux-raid,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
在 2026/7/18 11:42, Chen Cheng 写道: > 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_create/destroy_serial_pool") > > Signed-off-by: Chen Cheng<[email protected]> > --- > drivers/md/md-bitmap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Yu Kuai <[email protected]> -- Thanks, Kuai