Re: [PATCH v2 05/14] RDS: defer the over_batch work to send worker

2015-10-05 Thread David Miller
From: Santosh Shilimkar Date: Wed, 30 Sep 2015 13:24:24 -0400 > @@ -423,7 +423,9 @@ over_batch: >!list_empty(>c_send_queue)) && > send_gen == conn->c_send_gen) { > rds_stats_inc(s_send_lock_queue_raced); >

[PATCH v2 05/14] RDS: defer the over_batch work to send worker

2015-09-30 Thread Santosh Shilimkar
Current process gives up if its send work over the batch limit. The work queue will get kicked to finish off any other requests. This fixes remainder condition from commit 443be0e5affe ("RDS: make sure not to loop forever inside rds_send_xmit"). The restart condition is only for the case where