diff options
| author | Alex Elder <elder@dreamhost.com> | 2012-03-07 21:40:08 +0400 |
|---|---|---|
| committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 19:47:51 +0400 |
| commit | 31739139f3ed7be802dd9019ec8d8cc910e3d241 (patch) | |
| tree | 3182393002d7a8e29d230e30aa4920d7de737530 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 37675b0f42a8f7699c3602350d1c3b2a1698a3d3 (diff) | |
| download | linux-31739139f3ed7be802dd9019ec8d8cc910e3d241.tar.xz | |
libceph: use kernel_sendpage() for sending zeroes
If a message queued for send gets revoked, zeroes are sent over the
wire instead of any unsent data. This is done by constructing a
message and passing it to kernel_sendmsg() via ceph_tcp_sendmsg().
Since we are already working with a page in this case we can use
the sendpage interface instead. Create a new ceph_tcp_sendpage()
helper that sets up flags to match the way ceph_tcp_sendmsg()
does now.
Signed-off-by: Alex Elder <elder@dreamhost.com>
Reviewed-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
