Skip to content
Snippets Groups Projects
Commit 48b981a5 authored by Bobi Jam's avatar Bobi Jam
Browse files

Branch HEAD

b=16573

fix wrong stat index.
parent f93353d3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment