[PATCH -next 0/2] md: clean up and fix for mddev_suspend()

From: Yu Kuai
Date: Tue Jun 27 2023 - 21:30:33 EST


From: Yu Kuai <yukuai3@xxxxxxxxxx>

This patchset is minor changes that I found by code review while I'm
working on synchronize io and array configuration. I'm planing to
refactor mddev_suspend() from:

mddev_lock
// array configuration
mddev_unlock

and:

mddev_lock
mddev_suspend
// array configuration
mddev_resume
mddev_unlock

to:

mddev_suspend
mddev_lock
// array configuration
mddev_unlock
mddev_resume

Yu Kuai (2):
md: don't quiesce in mddev_suspend()
md: restore 'noio_flag' for the last mddev_resume()

drivers/md/md.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

--
2.39.2