Whamcloud - gitweb
b=13080
[fs/lustre-release.git] / lustre / mds / mds_fs.c
index 6d94db7..1ef9533 100644 (file)
@@ -59,7 +59,8 @@ static int mds_export_stats_init(struct obd_device *obd, struct obd_export *exp)
                 return rc;
         num_stats = (sizeof(*obd->obd_type->typ_dt_ops) / sizeof(void *)) +
                     LPROC_MDS_LAST - 1;
-        exp->exp_ops_stats = lprocfs_alloc_stats(num_stats);
+        exp->exp_ops_stats = lprocfs_alloc_stats(num_stats,
+                                                 LPROCFS_STATS_FLAG_NOPERCPU);
         if (exp->exp_ops_stats == NULL)
                 return -ENOMEM;
         lprocfs_init_ops_stats(LPROC_MDS_LAST, exp->exp_ops_stats);