summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorShaohua Li <shli@kernel.org>2012-10-11 04:34:00 +0200
committerNeilBrown <neilb@suse.de>2012-10-11 04:34:00 +0200
commit4ed8731d8e6bd2a88a30697fbf4f7e6e979a6c46 (patch)
tree3bb77592fa5a89b8e7f0ef84b8d7f53122bbd071 /drivers/md/raid5.c
parentmd/raid10: submit IO from originating thread instead of md thread. (diff)
downloadlinux-4ed8731d8e6bd2a88a30697fbf4f7e6e979a6c46.tar.xz
linux-4ed8731d8e6bd2a88a30697fbf4f7e6e979a6c46.zip
MD: change the parameter of md thread
Change the thread parameter, so the thread can carry extra info. Next patch will use it. Signed-off-by: Shaohua Li <shli@fusionio.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r--drivers/md/raid5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index adda94df5eb2..81c02d63440b 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -4625,8 +4625,9 @@ static int handle_active_stripes(struct r5conf *conf)
* During the scan, completed stripes are saved for us by the interrupt
* handler, so that they will not have to wait for our next wakeup.
*/
-static void raid5d(struct mddev *mddev)
+static void raid5d(struct md_thread *thread)
{
+ struct mddev *mddev = thread->mddev;
struct r5conf *conf = mddev->private;
int handled;
struct blk_plug plug;