summaryrefslogtreecommitdiffstats
path: root/fs/ceph/rados.h
diff options
context:
space:
mode:
authorSage Weil2010-04-10 00:46:42 +0200
committerSage Weil2010-04-10 00:50:58 +0200
commit2844a76a25a2fc2f5025cf128c95a14d86146d33 (patch)
treea57b3dac7f92d187bafe3c10270b0d28edf405e3 /fs/ceph/rados.h
parentceph: fix ack counter reset on connection reset (diff)
downloadkernel-qcow2-linux-2844a76a25a2fc2f5025cf128c95a14d86146d33.tar.gz
kernel-qcow2-linux-2844a76a25a2fc2f5025cf128c95a14d86146d33.tar.xz
kernel-qcow2-linux-2844a76a25a2fc2f5025cf128c95a14d86146d33.zip
ceph: decode v5 of osdmap (pool names) [protocol change]
Teach the client to decode an updated format for the osdmap. The new format includes pool names, which will be useful shortly. Get this change in earlier rather than later. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/rados.h')
-rw-r--r--fs/ceph/rados.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/ceph/rados.h b/fs/ceph/rados.h
index 26ac8b89a676..a1fc1d017b58 100644
--- a/fs/ceph/rados.h
+++ b/fs/ceph/rados.h
@@ -11,8 +11,10 @@
/*
* osdmap encoding versions
*/
-#define CEPH_OSDMAP_INC_VERSION 4
-#define CEPH_OSDMAP_VERSION 4
+#define CEPH_OSDMAP_INC_VERSION 5
+#define CEPH_OSDMAP_INC_VERSION_EXT 5
+#define CEPH_OSDMAP_VERSION 5
+#define CEPH_OSDMAP_VERSION_EXT 5
/*
* fs id