glusterfs/rpc/rpc-transport
Krutika Dhananjay a1e7acc93a socket: Remove redundant in_lock in incoming message handling
A given epoll thread can handle only one incoming (POLLIN) request.
And until the socket is rearmed for listening, it is guaranteed that
there won't be any new incoming requests. As a result, the priv->in_lock
which guards the socket proto state machine seems redundant.

This patch removes priv->in_lock.

Change-Id: I26b6ddd852aba8c10385833b85ffd2e53e46cb8c
updates: bz#1467614
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
2018-12-26 05:15:08 +00:00
..
2018-12-19 11:24:57 +00:00