Whamcloud - gitweb
LU-6447 mdt: mdt_identity_upcall to not block with rwlock held
[fs/lustre-release.git] / lustre / include / upcall_cache.h
index 46cfe65..d239a26 100644 (file)
@@ -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];