diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-08-18 14:57:24 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-06 18:30:23 +0200 |
commit | 29c6d1bbd7a2cd88a197ea7cef171f616e198526 (patch) | |
tree | 030b89a1b988e71879538aac339e49cf4500b829 /drivers/md/raid5.h | |
parent | 84a3f4db039e7c4bfe8ae9bebdebdf2a4e09bf86 (diff) | |
download | linux-29c6d1bbd7a2cd88a197ea7cef171f616e198526.tar.gz linux-29c6d1bbd7a2cd88a197ea7cef171f616e198526.tar.bz2 linux-29c6d1bbd7a2cd88a197ea7cef171f616e198526.zip |
md/raid5: Convert to hotplug state machine
Install the callbacks via the state machine and let the core invoke
the callbacks on the already online CPUs.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Neil Brown <neilb@suse.com>
Cc: linux-raid@vger.kernel.org
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20160818125731.27256-10-bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index 517d4b68a1be..57ec49f0839e 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h @@ -512,9 +512,7 @@ struct r5conf { } __percpu *percpu; int scribble_disks; int scribble_sectors; -#ifdef CONFIG_HOTPLUG_CPU - struct notifier_block cpu_notify; -#endif + struct hlist_node node; /* * Free stripes pool |