aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/osdmap.h
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-03-21 13:05:29 -0400
committerSage Weil <sage@inktank.com>2014-04-05 00:07:55 -0400
commitec7af97258396161e6effba7e788c3fc3cb55263 (patch)
treefc00b89d05b40fadd9dba80fe8c31fc316a605eb /include/linux/ceph/osdmap.h
parent10db634e2083a202a26123d6d4c9ede98d6a1199 (diff)
libceph: introduce get_osdmap_client_data_v()
Full and incremental osdmaps are structured identically and have identical headers. Add a helper to decode both "old" (16-bit version, v6) and "new" (8-bit struct_v+struct_compat+struct_len, v7) osdmap enconding headers and switch to it. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'include/linux/ceph/osdmap.h')
0 files changed, 0 insertions, 0 deletions