Whamcloud - gitweb
LU-404 bind umount /sbin/mount.lustre only if necessary
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_lproc.c
index ed7fd6c..df25006 100644 (file)
@@ -26,7 +26,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  */
 /*
 #include "osd_internal.h"
 
 #ifdef LPROCFS
-enum {
-        LPROC_OSD_NR
-};
 
 static const char *osd_counter_names[LPROC_OSD_NR] = {
+#if OSD_THANDLE_STATS
+        [LPROC_OSD_THANDLE_STARTING] = "thandle starting",
+        [LPROC_OSD_THANDLE_OPEN]     = "thandle open",
+        [LPROC_OSD_THANDLE_CLOSING]  = "thandle closing"
+#endif
 };
 
 int osd_procfs_init(struct osd_device *osd, const char *name)