diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/backing-dev.h | 1 | ||||
| -rw-r--r-- | include/linux/ceph/libceph.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/osdmap.h | 1 | ||||
| -rw-r--r-- | include/linux/ceph/rados.h | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index 2a9a9abc9126..12731a19ef06 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
| @@ -114,6 +114,7 @@ struct backing_dev_info { | |||
| 114 | int bdi_init(struct backing_dev_info *bdi); | 114 | int bdi_init(struct backing_dev_info *bdi); |
| 115 | void bdi_destroy(struct backing_dev_info *bdi); | 115 | void bdi_destroy(struct backing_dev_info *bdi); |
| 116 | 116 | ||
| 117 | __printf(3, 4) | ||
| 117 | int bdi_register(struct backing_dev_info *bdi, struct device *parent, | 118 | int bdi_register(struct backing_dev_info *bdi, struct device *parent, |
| 118 | const char *fmt, ...); | 119 | const char *fmt, ...); |
| 119 | int bdi_register_dev(struct backing_dev_info *bdi, dev_t dev); | 120 | int bdi_register_dev(struct backing_dev_info *bdi, dev_t dev); |
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 6470792b13d3..084d3c622b12 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h | |||
| @@ -43,7 +43,6 @@ struct ceph_options { | |||
| 43 | struct ceph_entity_addr my_addr; | 43 | struct ceph_entity_addr my_addr; |
| 44 | int mount_timeout; | 44 | int mount_timeout; |
| 45 | int osd_idle_ttl; | 45 | int osd_idle_ttl; |
| 46 | int osd_timeout; | ||
| 47 | int osd_keepalive_timeout; | 46 | int osd_keepalive_timeout; |
| 48 | 47 | ||
| 49 | /* | 48 | /* |
| @@ -63,7 +62,6 @@ struct ceph_options { | |||
| 63 | * defaults | 62 | * defaults |
| 64 | */ | 63 | */ |
| 65 | #define CEPH_MOUNT_TIMEOUT_DEFAULT 60 | 64 | #define CEPH_MOUNT_TIMEOUT_DEFAULT 60 |
| 66 | #define CEPH_OSD_TIMEOUT_DEFAULT 60 /* seconds */ | ||
| 67 | #define CEPH_OSD_KEEPALIVE_DEFAULT 5 | 65 | #define CEPH_OSD_KEEPALIVE_DEFAULT 5 |
| 68 | #define CEPH_OSD_IDLE_TTL_DEFAULT 60 | 66 | #define CEPH_OSD_IDLE_TTL_DEFAULT 60 |
| 69 | 67 | ||
diff --git a/include/linux/ceph/osdmap.h b/include/linux/ceph/osdmap.h index e37acbe989a9..10a417f9f76f 100644 --- a/include/linux/ceph/osdmap.h +++ b/include/linux/ceph/osdmap.h | |||
| @@ -123,6 +123,7 @@ extern int ceph_calc_pg_acting(struct ceph_osdmap *osdmap, struct ceph_pg pgid, | |||
| 123 | extern int ceph_calc_pg_primary(struct ceph_osdmap *osdmap, | 123 | extern int ceph_calc_pg_primary(struct ceph_osdmap *osdmap, |
| 124 | struct ceph_pg pgid); | 124 | struct ceph_pg pgid); |
| 125 | 125 | ||
| 126 | extern const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id); | ||
| 126 | extern int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name); | 127 | extern int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name); |
| 127 | 128 | ||
| 128 | #endif | 129 | #endif |
diff --git a/include/linux/ceph/rados.h b/include/linux/ceph/rados.h index de91fbdf127e..2c04afeead1c 100644 --- a/include/linux/ceph/rados.h +++ b/include/linux/ceph/rados.h | |||
| @@ -87,6 +87,8 @@ struct ceph_pg { | |||
| 87 | * | 87 | * |
| 88 | * lpgp_num -- as above. | 88 | * lpgp_num -- as above. |
| 89 | */ | 89 | */ |
| 90 | #define CEPH_NOPOOL ((__u64) (-1)) /* pool id not defined */ | ||
| 91 | |||
| 90 | #define CEPH_PG_TYPE_REP 1 | 92 | #define CEPH_PG_TYPE_REP 1 |
| 91 | #define CEPH_PG_TYPE_RAID4 2 | 93 | #define CEPH_PG_TYPE_RAID4 2 |
| 92 | #define CEPH_PG_POOL_VERSION 2 | 94 | #define CEPH_PG_POOL_VERSION 2 |
