diff options
author | Andy Grover <andy.grover@oracle.com> | 2010-03-30 04:08:49 +0400 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-09 05:12:21 +0400 |
commit | fcc5450c6386526034edc437e4cb2c67a6fdd7e9 (patch) | |
tree | 87b98163a69413de3c14a37220edf22350cb25d9 /net/rds/message.c | |
parent | 51e2cba8b5936c13b40f0fa11aa4e84683dbc751 (diff) | |
download | linux-fcc5450c6386526034edc437e4cb2c67a6fdd7e9.tar.xz |
RDS: Remove send_quota from send_xmit()
The purpose of the send quota was really to give fairness
when different connections were all using the same
workq thread to send backlogged msgs -- they could only send
so many before another connection could make progress.
Now that each connection is pushing the backlog from its
completion handler, they are all guaranteed to make progress
and the quota isn't needed any longer.
A thread *will* have to send all previously queued data, as well
as any further msgs placed on the queue while while c_send_lock
was held. In a pathological case a single process can get
roped into doing this for long periods while other threads
get off free. But, since it can only do this until the transport
reports full, this is a bounded scenario.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/message.c')
0 files changed, 0 insertions, 0 deletions