Skip to content

sunrpc: Compact the xprtsock code a bit

Pavel Emelyanov linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13sunrpc: Remove unused sock arg from xs_get_srcportnet/sunrpc/xprtsock.c+3 -30 replies
2/13sunrpc: Remove unused sock arg from xs_next_srcportnet/sunrpc/xprtsock.c+3 -30 replies
3/13sunrpc: Get xprt pointer once in xs_tcp_setup_socketnet/sunrpc/xprtsock.c+4 -60 replies
4/13sunrpc: Remove duplicate xprt/transport arguments from callsnet/sunrpc/xprtsock.c+6 -60 replies
5/13sunrpc: Factor out udp sockets creationnet/sunrpc/xprtsock.c+56 -400 replies
6/13sunrpc: Factor out v4 sockets creationnet/sunrpc/xprtsock.c+26 -370 replies
7/13sunrpc: Factor out v6 sockets creationnet/sunrpc/xprtsock.c+26 -370 replies
8/13sunrpc: Call xs_create_sockX directly from setup_socketnet/sunrpc/xprtsock.c+8 -320 replies
9/13sunrpc: Merge the xs_bind codenet/sunrpc/xprtsock.c+18 -4719 replies
10/13sunrpc: Merge xs_create_sock codenet/sunrpc/xprtsock.c+23 -230 replies
11/13sunrpc: Pass family to setup_socket callsnet/sunrpc/xprtsock.c+8 -240 replies
12/13sunrpc: Remove TCP worker wrappersnet/sunrpc/xprtsock.c+7 -320 replies
13/13sunrpc: Remove UDP worker wrappersnet/sunrpc/xprtsock.c+7 -340 replies

Reviews trailers per patch

1 of 13 patches has a Reviewed-by or Acked-by.

PatchChuck Lever
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13R-b
10/13
11/13
12/13
13/13

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/13] sunrpc: Compact the xprtsock code a bit

Hi!

This set removes some unused parts of code and merges together routines that are related to the sockets creation.

After all the changes the result is

net/sunrpc/xprtsock.c: 77 insertions(+), 206 deletions(-)

from the code-lines point of view and

add/remove: 2/11 grow/shrink: 4/1 up/down: 879/-1626 (-747)

from the bloat-o-meter's point of view.

Thanks,
Pavel