aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2012-03-07 17:40:08 +0000
committerAlex Elder <[email protected]>2012-03-22 15:47:51 +0000
commit31739139f3ed7be802dd9019ec8d8cc910e3d241 (patch)
tree3182393002d7a8e29d230e30aa4920d7de737530 /fs/jbd2/commit.c
parentlibceph: fix inverted crc option logic (diff)
downloadkernel-31739139f3ed7be802dd9019ec8d8cc910e3d241.tar.gz
kernel-31739139f3ed7be802dd9019ec8d8cc910e3d241.zip
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 <[email protected]> Reviewed-by: Sage Weil <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions