diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-28 13:01:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-28 13:01:29 -0400 |
commit | 56b59b429b4c26e5e730bc8c3d837de9f7d0a966 (patch) | |
tree | 191bf87e438a3985ccb7e3c5382fab8d31f94edb /include/linux/ceph | |
parent | 9a7259d5c8978bbeb5fdcf64b168f8470d8208a6 (diff) | |
parent | c666601a935b94cc0f3310339411b6940de751ba (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client
Pull Ceph updates for 3.4-rc1 from Sage Weil:
"Alex has been busy. There are a range of rbd and libceph cleanups,
especially surrounding device setup and teardown, and a few critical
fixes in that code. There are more cleanups in the messenger code,
virtual xattrs, a fix for CRC calculation/checks, and lots of other
miscellaneous stuff.
There's a patch from Amon Ott to make inos behave a bit better on
32-bit boxes, some decode check fixes from Xi Wang, and network
throttling fix from Jim Schutt, and a couple RBD fixes from Josh
Durgin.
No new functionality, just a lot of cleanup and bug fixing."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: (65 commits)
rbd: move snap_rwsem to the device, rename to header_rwsem
ceph: fix three bugs, two in ceph_vxattrcb_file_layout()
libceph: isolate kmap() call in write_partial_msg_pages()
libceph: rename "page_shift" variable to something sensible
libceph: get rid of zero_page_address
libceph: only call kernel_sendpage() via helper
libceph: use kernel_sendpage() for sending zeroes
libceph: fix inverted crc option logic
libceph: some simple changes
libceph: small refactor in write_partial_kvec()
libceph: do crc calculations outside loop
libceph: separate CRC calculation from byte swapping
libceph: use "do" in CRC-related Boolean variables
ceph: ensure Boolean options support both senses
libceph: a few small changes
libceph: make ceph_tcp_connect() return int
libceph: encapsulate some messenger cleanup code
libceph: make ceph_msgr_wq private
libceph: encapsulate connection kvec operations
libceph: move prepare_write_banner()
...
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/libceph.h | 2 | ||||
-rw-r--r-- | include/linux/ceph/messenger.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index e8cf0ccd1a8d..e71d683982a6 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h | |||
@@ -208,7 +208,7 @@ extern struct kmem_cache *ceph_cap_cachep; | |||
208 | extern struct kmem_cache *ceph_dentry_cachep; | 208 | extern struct kmem_cache *ceph_dentry_cachep; |
209 | extern struct kmem_cache *ceph_file_cachep; | 209 | extern struct kmem_cache *ceph_file_cachep; |
210 | 210 | ||
211 | extern int ceph_parse_options(struct ceph_options **popt, char *options, | 211 | extern struct ceph_options *ceph_parse_options(char *options, |
212 | const char *dev_name, const char *dev_name_end, | 212 | const char *dev_name, const char *dev_name_end, |
213 | int (*parse_extra_token)(char *c, void *private), | 213 | int (*parse_extra_token)(char *c, void *private), |
214 | void *private); | 214 | void *private); |
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 */ |