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>
This commit is contained in:
@@ -301,6 +301,8 @@ struct rds_message {
|
||||
* -> rs->rs_lock
|
||||
*/
|
||||
spinlock_t m_rs_lock;
|
||||
wait_queue_head_t m_flush_wait;
|
||||
|
||||
struct rds_sock *m_rs;
|
||||
|
||||
/* cookie to send to remote, in rds header */
|
||||
|
Reference in New Issue
Block a user