]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: limit the number of times we loop in rds_send_xmit
authorChris Mason <chris.mason@oracle.com>
Fri, 3 Feb 2012 16:07:54 +0000 (11:07 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2019 19:04:24 +0000 (12:04 -0700)
commit9bfc481b426481ebba780856a75395c4aa6c884e
tree1bf881782c731426670ed84d8343af3f0313977c
parentc0ee132ecea002a6673f584f9b26b81fff1bcccd
RDS: limit the number of times we loop in rds_send_xmit

This will kick the RDS worker thread if we have been looping
too long.

Original commit from 2012 updated to include a change by
Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
that triggers "must_wake" if "rds_ib_recv_refill_one" fails.

Signed-off-by: Gerd Rausch <gerd.rausch@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_recv.c