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)
commit625a6ba2bd9d2720e64048188c6771b9da867884
tree3eca33a9452580d097e20087795709fcabd5fc53
parentf44d0436db1ea02f2a08bec40a854550a93e90a8
drbd: Move cpu_mask from connection to resource

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