Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=22980 improve obdfilter-survey performance on multi-core system
[fs/lustre-release.git]
/
lustre
/
obdecho
/
echo_client.c
diff --git
a/lustre/obdecho/echo_client.c
b/lustre/obdecho/echo_client.c
index
9d548e0
..
c412303
100644
(file)
--- a/
lustre/obdecho/echo_client.c
+++ b/
lustre/obdecho/echo_client.c
@@
-1800,7
+1800,9
@@
echo_client_iocontrol(unsigned int cmd, struct obd_export *exp,
int i;
ENTRY;
+#ifndef HAVE_UNLOCKED_IOCTL
cfs_unlock_kernel();
+#endif
memset(&dummy_oti, 0, sizeof(dummy_oti));
@@
-1931,7
+1933,9
@@
echo_client_iocontrol(unsigned int cmd, struct obd_export *exp,
ldlm_lock_decref(&ack_lock->lock, ack_lock->mode);
}
+#ifndef HAVE_UNLOCKED_IOCTL
cfs_lock_kernel();
+#endif
return rc;
}