Whamcloud - gitweb
LU-8130 ldlm: add a counter to the per-namespace data
[fs/lustre-release.git] / lustre / include / lustre_dlm.h
index c3a7928..4f285f8 100644 (file)
@@ -333,6 +333,8 @@ struct ldlm_ns_bucket {
         * Which res in the bucket should we start with the reclaim.
         */
        int                         nsb_reclaim_start;
+       /* counter of entries in this bucket */
+       atomic_t                nsb_count;
 };
 
 enum {