Skip to content

libceph: page mapping in the messenger

Alex Elder ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libceph: use kernel_sendpage() for sending zeroesnet/ceph/messenger.c+15 -50 replies
2/5libceph: only call kernel_sendpage() via helpernet/ceph/messenger.c+2 -60 replies
3/5libceph: get rid of zero_page_addressnet/ceph/messenger.c+2 -90 replies
4/5libceph: rename "page_shift" variable to something sensiblenet/ceph/messenger.c+6 -50 replies
5/5libceph: isolate kmap() call in write_partial_msg_pages()net/ceph/messenger.c+2 -110 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSage Weil
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] libceph: page mapping in the messenger

This series fixes up some things in the messenger code related to how it uses pages. A new ceph_tcp_sendpage() helper is created to match the existing ceph_tcp_sendmsg() interface, and it is used rather than the sendmsg interface when sending zeroes over the wire for a revoked message. The helper is also used for sending message data. Also, the address mapping to the zero page gets eliminated, thereby making the zero page get treated no differently than any other page when it is the source of a send operation. Finally there is a little code cleanup in the message sending code.

-Alex