Whamcloud - gitweb
b=10969
authornathan <nathan>
Thu, 30 Aug 2007 00:00:08 +0000 (00:00 +0000)
committernathan <nathan>
Thu, 30 Aug 2007 00:00:08 +0000 (00:00 +0000)
i=milind
i=adliger
oss service stats are all time

lustre/ptlrpc/lproc_ptlrpc.c

index b423fa3..038e810 100644 (file)
@@ -166,8 +166,7 @@ void ptlrpc_lprocfs_register(struct proc_dir_entry *root, char *dir,
                 __u32 opcode = ll_rpc_opcode_table[i].opcode;
                 lprocfs_counter_init(svc_stats, PTLRPC_LAST_CNTR + i,
                                      svc_counter_config, ll_opcode2str(opcode),
-                                     (i == OST_WRITE || i == OST_READ) ? 
-                                     "bytes" : "usec");
+                                     "usec");
         }
 
         rc = lprocfs_register_stats(svc_procroot, name, svc_stats);