diff options
author | 2014-03-21 19:05:30 +0200 | |
---|---|---|
committer | 2014-04-04 21:08:02 -0700 | |
commit | 2cfa34f2d67a36e292cbe6e4c1e60d212b7ba4d1 (patch) | |
tree | 63ab56e96104a41d950d97b3f6d18e248151325f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | libceph: primary_temp decode bits (diff) | |
download | linux-dev-2cfa34f2d67a36e292cbe6e4c1e60d212b7ba4d1.tar.xz linux-dev-2cfa34f2d67a36e292cbe6e4c1e60d212b7ba4d1.zip |
libceph: primary_affinity infrastructure
Add primary_affinity infrastructure. primary_affinity values are
stored in an max_osd-sized array, hanging off ceph_osdmap, similar to
a osd_weight array.
Introduce {get,set}_primary_affinity() helpers, primarily to return
CEPH_OSD_DEFAULT_PRIMARY_AFFINITY when no affinity has been set and to
abstract out osd_primary_affinity array allocation and initialization.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions