Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8674c4d
)
- barrier for potential cache problems
author
braam
<braam>
Wed, 27 Feb 2002 20:57:00 +0000
(20:57 +0000)
committer
braam
<braam>
Wed, 27 Feb 2002 20:57:00 +0000
(20:57 +0000)
lustre/ptlrpc/rpc.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/rpc.c
b/lustre/ptlrpc/rpc.c
index
05b7bef
..
6a7b7c9
100644
(file)
--- 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