From: David Zafman Date: Wed, 15 Oct 2014 22:20:03 +0000 (-0700) Subject: ceph_objectstore_tool: Describe super_ver values X-Git-Tag: v0.80.10~69^2~18 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ee183b8e56c6f8a88ac781cf1fedb6a7a93f1005;p=ceph.git ceph_objectstore_tool: Describe super_ver values Signed-off-by: David Zafman (cherry picked from commit 0aeba0f216a54390288b5e3d6147deb31877f744) --- diff --git a/src/tools/ceph_objectstore_tool.cc b/src/tools/ceph_objectstore_tool.cc index 17cda43ede3f..e7b243877bea 100644 --- a/src/tools/ceph_objectstore_tool.cc +++ b/src/tools/ceph_objectstore_tool.cc @@ -97,6 +97,8 @@ bool outistty; //can be added to the export format. struct super_header { static const uint32_t super_magic = (shortmagic << 16) | shortmagic; + // ver = 1, Initial version + // ver = 2, Add OSDSuperblock to pg_begin static const uint32_t super_ver = 2; static const uint32_t FIXED_LENGTH = 16; uint32_t magic;