md: raid5: Make raid5_percpu handling RT aware
__raid_run_ops() disables preemption with get_cpu() around the access to the raid5_percpu variables. That causes scheduling while atomic spews on RT. Serialize the access to the percpu data with a lock and keep the code preemptible. Reported-by:Udo van den Heuvel <udovdh@xs4all.nl> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Tested-by:
Udo van den Heuvel <udovdh@xs4all.nl>
Loading
Please register or sign in to comment