diff options
author | Alex Elder <elder@dreamhost.com> | 2012-01-23 22:49:27 +0100 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 16:47:45 +0100 |
commit | 5766651971e81298732466c9aa462ff47898ba37 (patch) | |
tree | 147bfd12f3b335d6b2fdb2af162c582a58c33fe5 /include | |
parent | ceph: fix overflow check in build_snap_context() (diff) | |
download | linux-5766651971e81298732466c9aa462ff47898ba37.tar.xz linux-5766651971e81298732466c9aa462ff47898ba37.zip |
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')
-rw-r--r-- | include/linux/ceph/messenger.h | 1 |
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; |