lkml.org 
[lkml]   [2023]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH -next 0/2] md: clean up and fix for mddev_suspend()
Date
From: Yu Kuai <yukuai3@huawei.com>

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

\
 
 \ /
  Last update: 2023-06-28 03:31    [W:0.058 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site