Whamcloud - gitweb
LU-2484 obd: add md_stats to MDC and LMV devices
[fs/lustre-release.git] / lustre / include / lustre_export.h
index 29f6167..fabea52 100644 (file)
@@ -27,7 +27,7 @@
  * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2011, 2012, Intel Corporation.
+ * Copyright (c) 2011, 2013, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -110,7 +110,7 @@ struct mgs_export_data {
  * per-NID statistics structure.
  * It tracks access patterns to this export on a per-client-NID basis
  */
-typedef struct nid_stat {
+struct nid_stat {
         lnet_nid_t               nid;
         cfs_hlist_node_t         nid_hash;
         cfs_list_t               nid_list;
@@ -118,10 +118,9 @@ typedef struct nid_stat {
         struct proc_dir_entry   *nid_proc;
         struct lprocfs_stats    *nid_stats;
         struct lprocfs_stats    *nid_ldlm_stats;
-        struct brw_stats        *nid_brw_stats;
         cfs_atomic_t             nid_exp_ref_count; /* for obd_nid_stats_hash
                                                            exp_nid_stats */
-}nid_stat_t;
+};
 
 #define nidstat_getref(nidstat)                                                \
 do {                                                                           \
@@ -192,7 +191,6 @@ struct obd_export {
         */
         struct obd_import        *exp_imp_reverse;
         struct nid_stat          *exp_nid_stats;
-        struct lprocfs_stats     *exp_md_stats;
         /** Active connetion */
         struct ptlrpc_connection *exp_connection;
         /** Connection count value from last succesful reconnect rpc */