- struct ldlm_export_data exp_ldlm_data;
- struct list_head exp_outstanding_replies;
- time_t exp_last_request_time;
- struct list_head exp_req_replay_queue;
- spinlock_t exp_lock; /* protects flags int below */
- /* ^ protects exp_outstanding_replies too */
+ /** 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 */
+ __u64 exp_last_committed;
+ /** When was last request received */
+ cfs_time_t exp_last_request_time;
+ /** On replay all requests waiting for replay are linked here */
+ cfs_list_t exp_req_replay_queue;
+ /** protects exp_flags and exp_outstanding_replies */
+ cfs_spinlock_t exp_lock;
+ /** Compatibility flags for this export */