]> git.karo-electronics.de Git - linux-beck.git/commitdiff
RDS: Bypass workqueue when queueing cong updates
authorAndy Grover <andy.grover@oracle.com>
Mon, 29 Mar 2010 23:45:40 +0000 (16:45 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:12:16 +0000 (18:12 -0700)
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>
net/rds/cong.c

index c741e906d49fe21af3aec44c608946e0b87c873b..75ea686f27d5aeedfd220dfbfa514295d6cc8ecc 100644 (file)
@@ -221,7 +221,7 @@ void rds_cong_queue_updates(struct rds_cong_map *map)
        list_for_each_entry(conn, &map->m_conn_list, c_map_item) {
                if (!test_and_set_bit(0, &conn->c_map_queued)) {
                        rds_stats_inc(s_cong_update_queued);
-                       queue_delayed_work(rds_wq, &conn->c_send_w, 0);
+                       rds_send_xmit(conn);
                }
        }