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:
f93353d
)
Branch HEAD
author
bobijam
<bobijam>
Tue, 12 Aug 2008 03:55:16 +0000
(
03:55
+0000)
committer
bobijam
<bobijam>
Tue, 12 Aug 2008 03:55:16 +0000
(
03:55
+0000)
b=16573
fix wrong stat index.
lustre/ptlrpc/lproc_ptlrpc.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/lproc_ptlrpc.c
b/lustre/ptlrpc/lproc_ptlrpc.c
index
8d61f3d
..
8eb11fc
100644
(file)
--- a/
lustre/ptlrpc/lproc_ptlrpc.c
+++ b/
lustre/ptlrpc/lproc_ptlrpc.c
@@
-583,10
+583,10
@@
void ptlrpc_lprocfs_brw(struct ptlrpc_request *req, int bytes)
idx = lustre_msg_get_opc(req->rq_reqmsg);
switch (idx) {
case OST_READ:
- idx = BRW_READ_BYTES;
+ idx = BRW_READ_BYTES
+ PTLRPC_LAST_CNTR
;
break;
case OST_WRITE:
- idx = BRW_WRITE_BYTES;
+ idx = BRW_WRITE_BYTES
+ PTLRPC_LAST_CNTR
;
break;
default:
LASSERTF(0, "unsupported opcode %u\n", idx);