From: braam Date: Wed, 27 Feb 2002 20:57:00 +0000 (+0000) Subject: - barrier for potential cache problems X-Git-Tag: 0.4.2~581 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=03ff06f510d1eaa005e6989c9cb2872220e095cf;p=fs%2Flustre-release.git - barrier for potential cache problems --- 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