rds: per-rm flush_wait waitq
authorChris Mason <chris.mason@oracle.com>
Wed, 21 Apr 2010 20:09:28 +0000 (13:09 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:12:27 +0000 (18:12 -0700)
commitc83188dcd76b1f0c17c31b4bbd8de57c634b19f8
tree1d66c7996693e36d88f9fa7bebcb28281612675d
parent976673ee1b92d939168c8c1fbad3e16c45caa545
rds: per-rm flush_wait waitq

This removes a global waitqueue used to wait for rds messages
and replaces it with a waitqueue inside the rds_message struct.

The global waitqueue turns into a global lock and significantly
bottlenecks operations on large machines.

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