aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/rados.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/rados.h')
-rw-r--r--fs/ceph/rados.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ceph/rados.h b/fs/ceph/rados.h
index 123fd845459e..1f4c78640541 100644
--- a/fs/ceph/rados.h
+++ b/fs/ceph/rados.h
@@ -9,6 +9,12 @@
9#include "msgr.h" 9#include "msgr.h"
10 10
11/* 11/*
12 * osdmap encoding versions
13 */
14#define CEPH_OSDMAP_INC_VERSION 3
15#define CEPH_OSDMAP_VERSION 3
16
17/*
12 * fs id 18 * fs id
13 */ 19 */
14struct ceph_fsid { 20struct ceph_fsid {
@@ -80,6 +86,7 @@ struct ceph_pg {
80 */ 86 */
81#define CEPH_PG_TYPE_REP 1 87#define CEPH_PG_TYPE_REP 1
82#define CEPH_PG_TYPE_RAID4 2 88#define CEPH_PG_TYPE_RAID4 2
89#define CEPH_PG_POOL_VERSION 2
83struct ceph_pg_pool { 90struct ceph_pg_pool {
84 __u8 type; /* CEPH_PG_TYPE_* */ 91 __u8 type; /* CEPH_PG_TYPE_* */
85 __u8 size; /* number of osds in each pg */ 92 __u8 size; /* number of osds in each pg */
@@ -92,6 +99,7 @@ struct ceph_pg_pool {
92 __le32 snap_epoch; /* epoch of last snap */ 99 __le32 snap_epoch; /* epoch of last snap */
93 __le32 num_snaps; 100 __le32 num_snaps;
94 __le32 num_removed_snap_intervals; 101 __le32 num_removed_snap_intervals;
102 __le64 uid;
95} __attribute__ ((packed)); 103} __attribute__ ((packed));
96 104
97/* 105/*