]> git.karo-electronics.de Git - linux-beck.git/commit
RDS: use rds_send_xmit() state instead of RDS_LL_SEND_FULL
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 11 Sep 2015 22:44:29 +0000 (15:44 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 5 Oct 2015 18:19:01 +0000 (11:19 -0700)
commitdb6526dcb51b054961a2d96ba43dec23e38818b3
tree37d72344806ac00cf13ed36e59b08cba1f882a02
parent4bebdd7a4d2960b2ff6c40b27156d041ea270765
RDS: use rds_send_xmit() state instead of RDS_LL_SEND_FULL

In Transport indepedent rds_sendmsg(), we shouldn't make decisions based
on RDS_LL_SEND_FULL which is used to manage the ring for RDMA based
transports. We can safely issue rds_send_xmit() and the using its
return value take decision on deferred work. This will also fix
the scenario where at times we are seeing connections stuck with
the LL_SEND_FULL bit getting set and never cleared.

We kick krdsd after any time we see -ENOMEM or -EAGAIN from the
ring allocation code.

Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/send.c
net/rds/threads.c