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
LU-6447 mdt: mdt_identity_upcall to not block with rwlock held
[fs/lustre-release.git]
/
lustre
/
include
/
upcall_cache.h
diff --git
a/lustre/include/upcall_cache.h
b/lustre/include/upcall_cache.h
index
46cfe65
..
d239a26
100644
(file)
--- a/
lustre/include/upcall_cache.h
+++ b/
lustre/include/upcall_cache.h
@@
-121,7
+121,7
@@
struct upcall_cache_ops {
struct upcall_cache {
struct list_head uc_hashtable[UC_CACHE_HASH_SIZE];
spinlock_t uc_lock;
-
rwlock_t uc_upcall_rwlock
;
+
struct rw_semaphore uc_upcall_rwsem
;
char uc_name[40]; /* for upcall */
char uc_upcall[UC_CACHE_UPCALL_MAXPATH];