aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-03-29 19:45:40 -0400
committerAndy Grover <andy.grover@oracle.com>2010-09-08 21:12:16 -0400
commit2fa57129df61bf3fb7d90c5486fe15df94091f61 (patch)
tree50d444045d3d116ae0771369a42f5b14f55a7c8f /net/rds
parenta7d3a281483684f77e350b045af7f80a149fc4c7 (diff)
RDS: Bypass workqueue when queueing cong updates
Now that rds_send_xmit() does not block, we can call it directly instead of going through the helper thread. Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds')
-rw-r--r--net/rds/cong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/cong.c b/net/rds/cong.c
index c741e906d49..75ea686f27d 100644
--- a/net/rds/cong.c
+++ b/net/rds/cong.c
@@ -221,7 +221,7 @@ void rds_cong_queue_updates(struct rds_cong_map *map)
221 list_for_each_entry(conn, &map->m_conn_list, c_map_item) { 221 list_for_each_entry(conn, &map->m_conn_list, c_map_item) {
222 if (!test_and_set_bit(0, &conn->c_map_queued)) { 222 if (!test_and_set_bit(0, &conn->c_map_queued)) {
223 rds_stats_inc(s_cong_update_queued); 223 rds_stats_inc(s_cong_update_queued);
224 queue_delayed_work(rds_wq, &conn->c_send_w, 0); 224 rds_send_xmit(conn);
225 } 225 }
226 } 226 }
227 227