summaryrefslogtreecommitdiff
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-01-24 01:49:27 +0400
committerAlex Elder <elder@dreamhost.com>2012-03-22 19:47:45 +0400
commit5766651971e81298732466c9aa462ff47898ba37 (patch)
tree147bfd12f3b335d6b2fdb2af162c582a58c33fe5 /include/linux/ceph
parent80834312a4da1405a9bc788313c67643de6fcb4c (diff)
downloadlinux-5766651971e81298732466c9aa462ff47898ba37.tar.xz
ceph: use a shared zero page rather than one per messenger
Each messenger allocates a page to be used when writing zeroes out in the event of error or other abnormal condition. Instead, use the kernel ZERO_PAGE() for that purpose. Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/messenger.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index ffbeb2c217b4..6b5af5f976d1 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -54,7 +54,6 @@ struct ceph_connection_operations {
struct ceph_messenger {
struct ceph_entity_inst inst; /* my name+address */
struct ceph_entity_addr my_enc_addr;
- struct page *zero_page; /* used in certain error cases */
bool nocrc;