From 03ff06f510d1eaa005e6989c9cb2872220e095cf Mon Sep 17 00:00:00 2001 From: braam Date: Wed, 27 Feb 2002 20:57:00 +0000 Subject: [PATCH] - barrier for potential cache problems --- lustre/ptlrpc/rpc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/ptlrpc/rpc.c b/lustre/ptlrpc/rpc.c index 05b7bef..6a7b7c9 100644 --- a/lustre/ptlrpc/rpc.c +++ b/lustre/ptlrpc/rpc.c @@ -160,6 +160,7 @@ static int rcvd_reply_callback(ptl_event_t *ev, void *data) if (ev->type == PTL_EVENT_PUT) { rpc->rq_repbuf = ev->mem_desc.start + ev->offset; + barrier(); wake_up_interruptible(&rpc->rq_wait_for_rep); } else { // XXX make sure we understand all events, including ACK's -- 1.8.3.1