From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Date: Wed, 13 May 2020 09:51:44 -0300 Subject: [Ocfs2-devel] [PATCH 11/33] tcp: tcp_sock_set_nodelay In-Reply-To: <20200513062649.2100053-12-hch@lst.de> References: <20200513062649.2100053-1-hch@lst.de> <20200513062649.2100053-12-hch@lst.de> Message-ID: <20200513125144.GC29989@ziepe.ca> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christoph Hellwig Cc: "David S. Miller" , Jakub Kicinski , Eric Dumazet , Alexey Kuznetsov , Hideaki YOSHIFUJI , Vlad Yasevich , Neil Horman , Marcelo Ricardo Leitner , Jon Maloy , Ying Xue , drbd-dev@lists.linbit.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, target-devel@vger.kernel.org, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, cluster-devel@redhat.com, ocfs2-devel@oss.oracle.com, netdev@vger.kernel.org, linux-sctp@vger.kernel.org, ceph-devel@vger.kernel.org, rds-devel On Wed, May 13, 2020 at 08:26:26AM +0200, Christoph Hellwig wrote: > Add a helper to directly set the TCP_NODELAY sockopt from kernel space > without going through a fake uaccess. Cleanup the callers to avoid > pointless wrappers now that this is a simple function call. > > Signed-off-by: Christoph Hellwig > --- > drivers/block/drbd/drbd_int.h | 7 ---- > drivers/block/drbd/drbd_main.c | 2 +- > drivers/block/drbd/drbd_receiver.c | 4 +-- > drivers/infiniband/sw/siw/siw_cm.c | 24 +++----------- > drivers/nvme/host/tcp.c | 9 +----- > drivers/nvme/target/tcp.c | 12 ++----- > drivers/target/iscsi/iscsi_target_login.c | 15 ++------- > fs/cifs/connect.c | 10 ++---- > fs/dlm/lowcomms.c | 8 ++--- > fs/ocfs2/cluster/tcp.c | 20 ++---------- > include/linux/tcp.h | 1 + > net/ceph/messenger.c | 11 ++----- > net/ipv4/tcp.c | 39 +++++++++++++++-------- > net/rds/tcp.c | 11 +------ > net/rds/tcp.h | 1 - > net/rds/tcp_listen.c | 2 +- > 16 files changed, 49 insertions(+), 127 deletions(-) No problem with the siw change Acked-by: Jason Gunthorpe Jason