libceph: dump pg_temp mappings to debugfs
authorIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 13 Mar 2014 14:36:13 +0000 (16:36 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:07:34 +0000 (21:07 -0700)
commit1c00240e007d14d3242fa490b50166b4f1b2770a
tree8f3ca874443a8a4c1d83fb26a64c3ec666b77cbf
parent0a2800d7280ccdf3194bd8bd74a2eb8c315b54c6
libceph: dump pg_temp mappings to debugfs

Dump pg_temp mappings to /sys/kernel/debug/ceph/<client>/osdmap,
one 'pg_temp <pgid> [<osd>, ..., <osd>]' per line, e.g:

    pg_temp 2.6 [2,3,4]

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/debugfs.c