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
(from parent 1:
5bb8ee9
)
- srpc_lnet_ev_handler doesn't need LNET_LOCK in userland.
author
isaac
<isaac>
Wed, 12 Sep 2007 02:21:00 +0000
(
02:21
+0000)
committer
isaac
<isaac>
Wed, 12 Sep 2007 02:21:00 +0000
(
02:21
+0000)
lnet/selftest/rpc.c
patch
|
blob
|
history
diff --git
a/lnet/selftest/rpc.c
b/lnet/selftest/rpc.c
index
356754b
..
057a081
100644
(file)
--- a/
lnet/selftest/rpc.c
+++ b/
lnet/selftest/rpc.c
@@
-1371,7
+1371,7
@@
srpc_send_reply (srpc_server_rpc_t *rpc)
return rc;
}
-/* always called with LNET_LOCK() held, and in thread context */
+/*
when in kernel
always called with LNET_LOCK() held, and in thread context */
void
srpc_lnet_ev_handler (lnet_event_t *ev)
{
@@
-1557,9
+1557,7
@@
srpc_check_event (int timeout)
abort();
}
- LNET_LOCK();
srpc_lnet_ev_handler(&ev);
- LNET_UNLOCK();
return 1;
}