RDS: flush fmrs before allocating new ones
authorChris Mason <chris.mason@oracle.com>
Tue, 20 Jul 2010 00:06:46 +0000 (17:06 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:16:42 +0000 (18:16 -0700)
commit8576f374ac9537674e3cccb0a9d43fa2b7ebbf5b
treeed7279333989d204a6627b703ae568ba0136a4b1
parentb4e1da3c9a0ac9b01f45a8578b7347e3a31f9fb8
RDS: flush fmrs before allocating new ones

Flushing FMRs is somewhat expensive, and is currently kicked off when
the interrupt handler notices that we are getting low.  The result of
this is that FMR flushing only happens from the interrupt cpus.

This spreads the load more effectively by triggering flushes just before
we allocate a new FMR.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
net/rds/ib_rdma.c