Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6606f34
)
b=10969
author
nathan
<nathan>
Thu, 30 Aug 2007 00:00:08 +0000
(
00:00
+0000)
committer
nathan
<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
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/lproc_ptlrpc.c
b/lustre/ptlrpc/lproc_ptlrpc.c
index
b423fa3
..
038e810
100644
(file)
--- a/
lustre/ptlrpc/lproc_ptlrpc.c
+++ b/
lustre/ptlrpc/lproc_ptlrpc.c
@@
-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);