summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorIlya Dryomov2014-03-21 18:05:29 +0100
committerSage Weil2014-04-05 06:07:58 +0200
commit9686f94c8cfc06e8afb7b2233ab8f1f6ac01957f (patch)
tree3564192f1d42c7ac6caeafa0becd3bac88704538 /firmware
parentlibceph: generalize ceph_pg_mapping (diff)
downloadkernel-qcow2-linux-9686f94c8cfc06e8afb7b2233ab8f1f6ac01957f.tar.gz
kernel-qcow2-linux-9686f94c8cfc06e8afb7b2233ab8f1f6ac01957f.tar.xz
kernel-qcow2-linux-9686f94c8cfc06e8afb7b2233ab8f1f6ac01957f.zip
libceph: primary_temp infrastructure
Add primary_temp mappings infrastructure. struct ceph_pg_mapping is overloaded, primary_temp mappings are stored in an rb-tree, rooted at ceph_osdmap, in a manner similar to pg_temp mappings. Dump primary_temp mappings to /sys/kernel/debug/ceph/<client>/osdmap, one 'primary_temp <pgid> <osd>' per line, e.g: primary_temp 2.6 4 Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions