drbd: Move cpu_mask from connection to resource
authorAndreas Gruenbacher <agruen@linbit.com>
Fri, 22 Jul 2011 12:29:02 +0000 (14:29 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:46:49 +0000 (16:46 +0100)
Also fix drbd_calc_cpu_mask() to spread resources equally over all online cpus
independent of device minor numbers.

Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c

Simple merge
Simple merge