libceph: tcp_nodelay support
authorChaitanya Huilgol <chaitanya.huilgol@gmail.com>
Fri, 23 Jan 2015 11:11:25 +0000 (16:41 +0530)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 19 Feb 2015 10:31:40 +0000 (13:31 +0300)
commitba988f87f532cd2b8c4740aa8ec49056521ae833
tree14d535124a9146d02fa0a7e2f76d8778b0bce662
parentcf32bd9c86b6917d8446c00ea0081dde6e716a82
libceph: tcp_nodelay support

TCP_NODELAY socket option set on connection sockets,
disables Nagle’s algorithm and improves latency characteristics.
tcp_nodelay(default)/notcp_nodelay option flags provided to
enable/disable setting the socket option.

Signed-off-by: Chaitanya Huilgol <chaitanya.huilgol@sandisk.com>
[idryomov@redhat.com: NO_TCP_NODELAY -> TCP_NODELAY, minor adjustments]
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
include/linux/ceph/libceph.h
include/linux/ceph/messenger.h
net/ceph/ceph_common.c
net/ceph/messenger.c