Whamcloud - gitweb
LU-11004 ptlrpc: Serialize procfs access to scp_hist_reqs using mutex
[fs/lustre-release.git] / lustre / include / lustre_net.h
index 3afe692..e8d290b 100644 (file)
@@ -1773,6 +1773,8 @@ struct ptlrpc_service_part {
         * threads starting & stopping are also protected by this lock.
         */
        spinlock_t                      scp_lock  __cfs_cacheline_aligned;
+       /** userland serialization */
+       struct mutex                    scp_mutex;
        /** total # req buffer descs allocated */
        int                             scp_nrqbds_total;
        /** # posted request buffers for receiving */