- cfs_hash_t *exp_lock_hash; /* existing lock hash */
- spinlock_t exp_lock_hash_lock;
- struct list_head exp_outstanding_replies;
- struct list_head exp_uncommitted_replies;
- spinlock_t exp_uncommitted_replies_lock;
+ /** Hash list of all ldlm locks granted on this export */
+ cfs_hash_t *exp_lock_hash;
+ /** Lock protecting access to exp_flock_wait_list */
+ cfs_rwlock_t exp_flock_wait_lock;
+ /**
+ * Wait queue for Posix lock deadlock detection, added with
+ * ldlm_lock::l_flock_waitq.
+ */
+ cfs_list_t exp_flock_wait_list;
+ cfs_list_t exp_outstanding_replies;
+ cfs_list_t exp_uncommitted_replies;
+ cfs_spinlock_t exp_uncommitted_replies_lock;
+ /** Last committed transno for this export */