libceph: support crush tunables
authorSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:23 +0000 (18:15 -0700)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:23 +0000 (18:15 -0700)
commit546f04ef716dd49521774653d8b032a7d64c05d9
tree162f548fc7a81b05eb1db715997b3a04693c1bcc
parent1fe60e51a3744528f3939b1b1167ca909133d9ae
libceph: support crush tunables

The server side recently added support for tuning some magic
crush variables. Decode these variables if they are present, or use the
default values if they are not present.

Corresponds to ceph.git commit 89af369c25f274fe62ef730e5e8aad0c54f1e5a5.

Signed-off-by: caleb miles <caleb.miles@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
include/linux/ceph/ceph_features.h
include/linux/crush/crush.h
net/ceph/crush/mapper.c
net/ceph/osdmap.c