Zach Brown ea819867b7 RDS/IB: protect the list of IB devices
The RDS IB device list wasn't protected by any locking.  Traversal in
both the get_mr and FMR flushing paths could race with additon and
removal.

List manipulation is done with RCU primatives and is protected by the
write side of a rwsem.  The list traversal in the get_mr fast path is
protected by a rcu read critical section.  The FMR list traversal is
more problematic because it can block while traversing the list.  We
protect this with the read side of the rwsem.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
2010-09-08 18:16:44 -07:00
..
2010-09-08 18:16:41 -07:00
2010-09-08 18:16:40 -07:00
2010-09-08 18:16:44 -07:00
2010-09-08 18:16:44 -07:00
2009-02-26 23:39:25 -08:00
2010-09-08 18:11:37 -07:00
2010-09-08 18:16:39 -07:00
2010-09-08 18:16:39 -07:00
2009-02-26 23:39:26 -08:00
2010-09-08 18:16:39 -07:00
2010-09-08 18:11:44 -07:00
2010-09-08 18:15:27 -07:00
2009-08-23 19:13:02 -07:00
2010-09-08 18:16:39 -07:00
2010-09-08 18:16:39 -07:00