crush: add chooseleaf_stable tunable
authorIlya Dryomov <idryomov@gmail.com>
Sun, 31 Jan 2016 13:36:07 +0000 (14:36 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 4 Feb 2016 17:25:55 +0000 (18:25 +0100)
commitdc6ae6d8e7726bad4f1c87244b49cac851746c65
tree3782e77f13157c488cd9a49db5726e7411f0a2d7
parent56a4f3091dceb7dfc14dc3ef1d5f59fe39ba4447
crush: add chooseleaf_stable tunable

Add a tunable to fix the bug that chooseleaf may cause unnecessary pg
migrations when some device fails.

Reflects ceph.git commit fdb3f664448e80d984470f32f04e2e6f03ab52ec.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
include/linux/crush/crush.h
net/ceph/crush/mapper.c