Whamcloud - gitweb
LU-8935 ptlrpc: missing barrier before wake_up
[fs/lustre-release.git] / lustre / include / lustre_net.h
index 6c9f530..f705ceb 100644 (file)
@@ -2517,6 +2517,7 @@ ptlrpc_client_recv_or_unlink(struct ptlrpc_request *req)
 static inline void
 ptlrpc_client_wake_req(struct ptlrpc_request *req)
 {
+       smp_mb();
        if (req->rq_set == NULL)
                wake_up(&req->rq_reply_waitq);
        else