libceph: generalize ceph_pg_mapping
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 21 Mar 2014 17:05:29 +0000 (19:05 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:07:57 +0000 (21:07 -0700)
commit35a935d75d51abe58d3427a8b4ae3745a5a14e1c
tree0ad881fa4d6c3417e10d07cd6423751cf68e6a1f
parentec7af97258396161e6effba7e788c3fc3cb55263
libceph: generalize ceph_pg_mapping

In preparation for adding support for primary_temp mappings, generalize
struct ceph_pg_mapping so it can hold mappings other than pg_temp.

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