RDS: Rewrite rds_send_xmit
authorAndy Grover <andy.grover@oracle.com>
Thu, 4 Feb 2010 03:36:44 +0000 (19:36 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:12:01 +0000 (18:12 -0700)
commit5b2366bd2835919e2e6a836e837eab4a9274bd46
treeee0be5166dfec4acc006a23ddc9ea5788dbb90ea
parent6c7cc6e4694dc464ae884332f2a322973497e3cf
RDS: Rewrite rds_send_xmit

Simplify rds_send_xmit().

Send a congestion map (via xmit_cong_map) without
decrementing send_quota.

Move resetting of conn xmit variables to end of loop.

Update comments.

Implement a special case to turn off sending an rds header
when there is an atomic op and no other data.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/rds.h
net/rds/send.c