diff options
| author | Tejun Heo <tj@kernel.org> | 2012-04-01 15:30:01 -0400 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2012-04-01 15:55:00 -0400 |
| commit | 959d851caa48829eb85cb85aa949fd6b4c5d5bc6 (patch) | |
| tree | 3ba9c94ec346275fb44c4f0d1cd2537cdff8d811 /include/linux/ceph | |
| parent | a5567932fc926739e29e98487128080f40c61710 (diff) | |
| parent | 48ddbe194623ae089cc0576e60363f2d2e85662a (diff) | |
Merge branch 'for-3.5' of ../cgroup into block/for-3.5/core-merged
cgroup/for-3.5 contains the following changes which blk-cgroup needs
to proceed with the on-going cleanup.
* Dynamic addition and removal of cftypes to make config/stat file
handling modular for policies.
* cgroup removal update to not wait for css references to drain to fix
blkcg removal hang caused by cfq caching cfqgs.
Pull in cgroup/for-3.5 into block/for-3.5/core. This causes the
following conflicts in block/blk-cgroup.c.
* 761b3ef50e "cgroup: remove cgroup_subsys argument from callbacks"
conflicts with blkiocg_pre_destroy() addition and blkiocg_attach()
removal. Resolved by removing @subsys from all subsys methods.
* 676f7c8f84 "cgroup: relocate cftype and cgroup_subsys definitions in
controllers" conflicts with ->pre_destroy() and ->attach() updates
and removal of modular config. Resolved by dropping forward
declarations of the methods and applying updates to the relocated
blkio_subsys.
* 4baf6e3325 "cgroup: convert all non-memcg controllers to the new
cftype interface" builds upon the previous item. Resolved by adding
->base_cftypes to the relocated blkio_subsys.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/ceph')
| -rw-r--r-- | include/linux/ceph/decode.h | 3 | ||||
| -rw-r--r-- | include/linux/ceph/libceph.h | 3 | ||||
| -rw-r--r-- | include/linux/ceph/mdsmap.h | 1 | ||||
| -rw-r--r-- | include/linux/ceph/messenger.h | 5 |
4 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/ceph/decode.h b/include/linux/ceph/decode.h index c5b6939fb32a..220ae21e819b 100644 --- a/include/linux/ceph/decode.h +++ b/include/linux/ceph/decode.h | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | #ifndef __CEPH_DECODE_H | 1 | #ifndef __CEPH_DECODE_H |
| 2 | #define __CEPH_DECODE_H | 2 | #define __CEPH_DECODE_H |
| 3 | 3 | ||
| 4 | #include <asm/unaligned.h> | 4 | #include <linux/bug.h> |
| 5 | #include <linux/time.h> | 5 | #include <linux/time.h> |
| 6 | #include <asm/unaligned.h> | ||
| 6 | 7 | ||
| 7 | #include "types.h" | 8 | #include "types.h" |
| 8 | 9 | ||
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 95bd8502e715..e71d683982a6 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <linux/backing-dev.h> | 7 | #include <linux/backing-dev.h> |
| 8 | #include <linux/completion.h> | 8 | #include <linux/completion.h> |
| 9 | #include <linux/exportfs.h> | 9 | #include <linux/exportfs.h> |
| 10 | #include <linux/bug.h> | ||
| 10 | #include <linux/fs.h> | 11 | #include <linux/fs.h> |
| 11 | #include <linux/mempool.h> | 12 | #include <linux/mempool.h> |
| 12 | #include <linux/pagemap.h> | 13 | #include <linux/pagemap.h> |
| @@ -207,7 +208,7 @@ extern struct kmem_cache *ceph_cap_cachep; | |||
| 207 | extern struct kmem_cache *ceph_dentry_cachep; | 208 | extern struct kmem_cache *ceph_dentry_cachep; |
| 208 | extern struct kmem_cache *ceph_file_cachep; | 209 | extern struct kmem_cache *ceph_file_cachep; |
| 209 | 210 | ||
| 210 | extern int ceph_parse_options(struct ceph_options **popt, char *options, | 211 | extern struct ceph_options *ceph_parse_options(char *options, |
| 211 | const char *dev_name, const char *dev_name_end, | 212 | const char *dev_name, const char *dev_name_end, |
| 212 | int (*parse_extra_token)(char *c, void *private), | 213 | int (*parse_extra_token)(char *c, void *private), |
| 213 | void *private); | 214 | void *private); |
diff --git a/include/linux/ceph/mdsmap.h b/include/linux/ceph/mdsmap.h index 4c5cb0880bba..9935fac8c107 100644 --- a/include/linux/ceph/mdsmap.h +++ b/include/linux/ceph/mdsmap.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #ifndef _FS_CEPH_MDSMAP_H | 1 | #ifndef _FS_CEPH_MDSMAP_H |
| 2 | #define _FS_CEPH_MDSMAP_H | 2 | #define _FS_CEPH_MDSMAP_H |
| 3 | 3 | ||
| 4 | #include <linux/bug.h> | ||
| 4 | #include "types.h" | 5 | #include "types.h" |
| 5 | 6 | ||
| 6 | /* | 7 | /* |
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index ffbeb2c217b4..3bff047f6b0f 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h | |||
| @@ -14,8 +14,6 @@ | |||
| 14 | struct ceph_msg; | 14 | struct ceph_msg; |
| 15 | struct ceph_connection; | 15 | struct ceph_connection; |
| 16 | 16 | ||
| 17 | extern struct workqueue_struct *ceph_msgr_wq; /* receive work queue */ | ||
| 18 | |||
| 19 | /* | 17 | /* |
| 20 | * Ceph defines these callbacks for handling connection events. | 18 | * Ceph defines these callbacks for handling connection events. |
| 21 | */ | 19 | */ |
| @@ -54,7 +52,6 @@ struct ceph_connection_operations { | |||
| 54 | struct ceph_messenger { | 52 | struct ceph_messenger { |
| 55 | struct ceph_entity_inst inst; /* my name+address */ | 53 | struct ceph_entity_inst inst; /* my name+address */ |
| 56 | struct ceph_entity_addr my_enc_addr; | 54 | struct ceph_entity_addr my_enc_addr; |
| 57 | struct page *zero_page; /* used in certain error cases */ | ||
| 58 | 55 | ||
| 59 | bool nocrc; | 56 | bool nocrc; |
| 60 | 57 | ||
| @@ -101,7 +98,7 @@ struct ceph_msg { | |||
| 101 | struct ceph_msg_pos { | 98 | struct ceph_msg_pos { |
| 102 | int page, page_pos; /* which page; offset in page */ | 99 | int page, page_pos; /* which page; offset in page */ |
| 103 | int data_pos; /* offset in data payload */ | 100 | int data_pos; /* offset in data payload */ |
| 104 | int did_page_crc; /* true if we've calculated crc for current page */ | 101 | bool did_page_crc; /* true if we've calculated crc for current page */ |
| 105 | }; | 102 | }; |
| 106 | 103 | ||
| 107 | /* ceph connection fault delay defaults, for exponential backoff */ | 104 | /* ceph connection fault delay defaults, for exponential backoff */ |
