diff options
Diffstat (limited to 'include/linux/ceph')
| -rw-r--r-- | include/linux/ceph/ceph_fs.h | 4 | ||||
| -rw-r--r-- | include/linux/ceph/debugfs.h | 4 | ||||
| -rw-r--r-- | include/linux/ceph/decode.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/libceph.h | 14 | ||||
| -rw-r--r-- | include/linux/ceph/mdsmap.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/messenger.h | 4 | ||||
| -rw-r--r-- | include/linux/ceph/mon_client.h | 3 | ||||
| -rw-r--r-- | include/linux/ceph/msgpool.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/osd_client.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/osdmap.h | 10 | ||||
| -rw-r--r-- | include/linux/ceph/rados.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/types.h | 6 |
12 files changed, 27 insertions, 28 deletions
diff --git a/include/linux/ceph/ceph_fs.h b/include/linux/ceph/ceph_fs.h index d021610efd65..cf6f4d998a76 100644 --- a/include/linux/ceph/ceph_fs.h +++ b/include/linux/ceph/ceph_fs.h | |||
| @@ -12,8 +12,8 @@ | |||
| 12 | #ifndef CEPH_FS_H | 12 | #ifndef CEPH_FS_H |
| 13 | #define CEPH_FS_H | 13 | #define CEPH_FS_H |
| 14 | 14 | ||
| 15 | #include "msgr.h" | 15 | #include <linux/ceph/msgr.h> |
| 16 | #include "rados.h" | 16 | #include <linux/ceph/rados.h> |
| 17 | 17 | ||
| 18 | /* | 18 | /* |
| 19 | * subprotocol versions. when specific messages types or high-level | 19 | * subprotocol versions. when specific messages types or high-level |
diff --git a/include/linux/ceph/debugfs.h b/include/linux/ceph/debugfs.h index 2a79702e092b..1df086d7882d 100644 --- a/include/linux/ceph/debugfs.h +++ b/include/linux/ceph/debugfs.h | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | #ifndef _FS_CEPH_DEBUGFS_H | 1 | #ifndef _FS_CEPH_DEBUGFS_H |
| 2 | #define _FS_CEPH_DEBUGFS_H | 2 | #define _FS_CEPH_DEBUGFS_H |
| 3 | 3 | ||
| 4 | #include "ceph_debug.h" | 4 | #include <linux/ceph/ceph_debug.h> |
| 5 | #include "types.h" | 5 | #include <linux/ceph/types.h> |
| 6 | 6 | ||
| 7 | #define CEPH_DEFINE_SHOW_FUNC(name) \ | 7 | #define CEPH_DEFINE_SHOW_FUNC(name) \ |
| 8 | static int name##_open(struct inode *inode, struct file *file) \ | 8 | static int name##_open(struct inode *inode, struct file *file) \ |
diff --git a/include/linux/ceph/decode.h b/include/linux/ceph/decode.h index 4bbf2db45f46..63d092822bad 100644 --- a/include/linux/ceph/decode.h +++ b/include/linux/ceph/decode.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | #include <linux/time.h> | 6 | #include <linux/time.h> |
| 7 | #include <asm/unaligned.h> | 7 | #include <asm/unaligned.h> |
| 8 | 8 | ||
| 9 | #include "types.h" | 9 | #include <linux/ceph/types.h> |
| 10 | 10 | ||
| 11 | /* | 11 | /* |
| 12 | * in all cases, | 12 | * in all cases, |
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 42624789b06f..6470792b13d3 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef _FS_CEPH_LIBCEPH_H | 1 | #ifndef _FS_CEPH_LIBCEPH_H |
| 2 | #define _FS_CEPH_LIBCEPH_H | 2 | #define _FS_CEPH_LIBCEPH_H |
| 3 | 3 | ||
| 4 | #include "ceph_debug.h" | 4 | #include <linux/ceph/ceph_debug.h> |
| 5 | 5 | ||
| 6 | #include <asm/unaligned.h> | 6 | #include <asm/unaligned.h> |
| 7 | #include <linux/backing-dev.h> | 7 | #include <linux/backing-dev.h> |
| @@ -15,12 +15,12 @@ | |||
| 15 | #include <linux/writeback.h> | 15 | #include <linux/writeback.h> |
| 16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
| 17 | 17 | ||
| 18 | #include "types.h" | 18 | #include <linux/ceph/types.h> |
| 19 | #include "messenger.h" | 19 | #include <linux/ceph/messenger.h> |
| 20 | #include "msgpool.h" | 20 | #include <linux/ceph/msgpool.h> |
| 21 | #include "mon_client.h" | 21 | #include <linux/ceph/mon_client.h> |
| 22 | #include "osd_client.h" | 22 | #include <linux/ceph/osd_client.h> |
| 23 | #include "ceph_fs.h" | 23 | #include <linux/ceph/ceph_fs.h> |
| 24 | 24 | ||
| 25 | /* | 25 | /* |
| 26 | * mount options | 26 | * mount options |
diff --git a/include/linux/ceph/mdsmap.h b/include/linux/ceph/mdsmap.h index 9935fac8c107..cb15b5d867c7 100644 --- a/include/linux/ceph/mdsmap.h +++ b/include/linux/ceph/mdsmap.h | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | #define _FS_CEPH_MDSMAP_H | 2 | #define _FS_CEPH_MDSMAP_H |
| 3 | 3 | ||
| 4 | #include <linux/bug.h> | 4 | #include <linux/bug.h> |
| 5 | #include "types.h" | 5 | #include <linux/ceph/types.h> |
| 6 | 6 | ||
| 7 | /* | 7 | /* |
| 8 | * mds map - describe servers in the mds cluster. | 8 | * mds map - describe servers in the mds cluster. |
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index 189ae0637634..14ba5ee738a9 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h | |||
| @@ -8,8 +8,8 @@ | |||
| 8 | #include <linux/uio.h> | 8 | #include <linux/uio.h> |
| 9 | #include <linux/workqueue.h> | 9 | #include <linux/workqueue.h> |
| 10 | 10 | ||
| 11 | #include "types.h" | 11 | #include <linux/ceph/types.h> |
| 12 | #include "buffer.h" | 12 | #include <linux/ceph/buffer.h> |
| 13 | 13 | ||
| 14 | struct ceph_msg; | 14 | struct ceph_msg; |
| 15 | struct ceph_connection; | 15 | struct ceph_connection; |
diff --git a/include/linux/ceph/mon_client.h b/include/linux/ceph/mon_client.h index 2113e3850a4e..a486f390dfbe 100644 --- a/include/linux/ceph/mon_client.h +++ b/include/linux/ceph/mon_client.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | #include <linux/kref.h> | 5 | #include <linux/kref.h> |
| 6 | #include <linux/rbtree.h> | 6 | #include <linux/rbtree.h> |
| 7 | 7 | ||
| 8 | #include "messenger.h" | 8 | #include <linux/ceph/messenger.h> |
| 9 | 9 | ||
| 10 | struct ceph_client; | 10 | struct ceph_client; |
| 11 | struct ceph_mount_args; | 11 | struct ceph_mount_args; |
| @@ -71,7 +71,6 @@ struct ceph_mon_client { | |||
| 71 | int cur_mon; /* last monitor i contacted */ | 71 | int cur_mon; /* last monitor i contacted */ |
| 72 | unsigned long sub_sent, sub_renew_after; | 72 | unsigned long sub_sent, sub_renew_after; |
| 73 | struct ceph_connection con; | 73 | struct ceph_connection con; |
| 74 | bool have_fsid; | ||
| 75 | 74 | ||
| 76 | /* pending generic requests */ | 75 | /* pending generic requests */ |
| 77 | struct rb_root generic_request_tree; | 76 | struct rb_root generic_request_tree; |
diff --git a/include/linux/ceph/msgpool.h b/include/linux/ceph/msgpool.h index 09fa96b43436..4b0d38960726 100644 --- a/include/linux/ceph/msgpool.h +++ b/include/linux/ceph/msgpool.h | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | #define _FS_CEPH_MSGPOOL | 2 | #define _FS_CEPH_MSGPOOL |
| 3 | 3 | ||
| 4 | #include <linux/mempool.h> | 4 | #include <linux/mempool.h> |
| 5 | #include "messenger.h" | 5 | #include <linux/ceph/messenger.h> |
| 6 | 6 | ||
| 7 | /* | 7 | /* |
| 8 | * we use memory pools for preallocating messages we may receive, to | 8 | * we use memory pools for preallocating messages we may receive, to |
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h index cedfb1a8434a..d9b880e977e6 100644 --- a/include/linux/ceph/osd_client.h +++ b/include/linux/ceph/osd_client.h | |||
| @@ -207,7 +207,7 @@ extern void ceph_osdc_handle_reply(struct ceph_osd_client *osdc, | |||
| 207 | extern void ceph_osdc_handle_map(struct ceph_osd_client *osdc, | 207 | extern void ceph_osdc_handle_map(struct ceph_osd_client *osdc, |
| 208 | struct ceph_msg *msg); | 208 | struct ceph_msg *msg); |
| 209 | 209 | ||
| 210 | extern void ceph_calc_raw_layout(struct ceph_osd_client *osdc, | 210 | extern int ceph_calc_raw_layout(struct ceph_osd_client *osdc, |
| 211 | struct ceph_file_layout *layout, | 211 | struct ceph_file_layout *layout, |
| 212 | u64 snapid, | 212 | u64 snapid, |
| 213 | u64 off, u64 *plen, u64 *bno, | 213 | u64 off, u64 *plen, u64 *bno, |
diff --git a/include/linux/ceph/osdmap.h b/include/linux/ceph/osdmap.h index 311ef8d6aa9e..e37acbe989a9 100644 --- a/include/linux/ceph/osdmap.h +++ b/include/linux/ceph/osdmap.h | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | #define _FS_CEPH_OSDMAP_H | 2 | #define _FS_CEPH_OSDMAP_H |
| 3 | 3 | ||
| 4 | #include <linux/rbtree.h> | 4 | #include <linux/rbtree.h> |
| 5 | #include "types.h" | 5 | #include <linux/ceph/types.h> |
| 6 | #include "ceph_fs.h" | 6 | #include <linux/ceph/ceph_fs.h> |
| 7 | #include <linux/crush/crush.h> | 7 | #include <linux/crush/crush.h> |
| 8 | 8 | ||
| 9 | /* | 9 | /* |
| @@ -109,9 +109,9 @@ extern struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, | |||
| 109 | extern void ceph_osdmap_destroy(struct ceph_osdmap *map); | 109 | extern void ceph_osdmap_destroy(struct ceph_osdmap *map); |
| 110 | 110 | ||
| 111 | /* calculate mapping of a file extent to an object */ | 111 | /* calculate mapping of a file extent to an object */ |
| 112 | extern void ceph_calc_file_object_mapping(struct ceph_file_layout *layout, | 112 | extern int ceph_calc_file_object_mapping(struct ceph_file_layout *layout, |
| 113 | u64 off, u64 *plen, | 113 | u64 off, u64 *plen, |
| 114 | u64 *bno, u64 *oxoff, u64 *oxlen); | 114 | u64 *bno, u64 *oxoff, u64 *oxlen); |
| 115 | 115 | ||
| 116 | /* calculate mapping of object to a placement group */ | 116 | /* calculate mapping of object to a placement group */ |
| 117 | extern int ceph_calc_object_layout(struct ceph_object_layout *ol, | 117 | extern int ceph_calc_object_layout(struct ceph_object_layout *ol, |
diff --git a/include/linux/ceph/rados.h b/include/linux/ceph/rados.h index 0a99099801a4..de91fbdf127e 100644 --- a/include/linux/ceph/rados.h +++ b/include/linux/ceph/rados.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | * (Reliable Autonomic Distributed Object Store). | 6 | * (Reliable Autonomic Distributed Object Store). |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include "msgr.h" | 9 | #include <linux/ceph/msgr.h> |
| 10 | 10 | ||
| 11 | /* | 11 | /* |
| 12 | * osdmap encoding versions | 12 | * osdmap encoding versions |
diff --git a/include/linux/ceph/types.h b/include/linux/ceph/types.h index 28b35a005ec2..d3ff1cf2d27e 100644 --- a/include/linux/ceph/types.h +++ b/include/linux/ceph/types.h | |||
| @@ -7,9 +7,9 @@ | |||
| 7 | #include <linux/fcntl.h> | 7 | #include <linux/fcntl.h> |
| 8 | #include <linux/string.h> | 8 | #include <linux/string.h> |
| 9 | 9 | ||
| 10 | #include "ceph_fs.h" | 10 | #include <linux/ceph/ceph_fs.h> |
| 11 | #include "ceph_frag.h" | 11 | #include <linux/ceph/ceph_frag.h> |
| 12 | #include "ceph_hash.h" | 12 | #include <linux/ceph/ceph_hash.h> |
| 13 | 13 | ||
| 14 | /* | 14 | /* |
| 15 | * Identify inodes by both their ino AND snapshot id (a u64). | 15 | * Identify inodes by both their ino AND snapshot id (a u64). |
