]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Revert "RDS: Bypass workqueue when queueing cong updates"
authorMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 6 Nov 2012 20:33:56 +0000 (12:33 -0800)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 6 Nov 2012 20:35:06 +0000 (12:35 -0800)
Orabug: 14647229
This reverts commit 2fa57129df61bf3fb7d90c5486fe15df94091f61.
Author: Andy Grover <andy.grover@oracle.com>
Date:   Mon Mar 29 16:45:40 2010 -0700

    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>
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
net/rds/cong.c

index 5eade097b7559d2a3c5d40ef73fbd52a4a59cc73..9347f21a0e225ba25f8a49fb96be0bee53f3264d 100644 (file)
@@ -217,7 +217,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);
-                       rds_send_xmit(conn);
+                       queue_delayed_work(rds_wq, &conn->c_send_w, 0);
                }
        }
 }