]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7b28109e890ef9f47e51a9717ee19b2577bcb1e
tree3782e77f13157c488cd9a49db5726e7411f0a2d7
parentda1cb26fd45ecfffaaec0a2929b15e2715eb1ddd
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