diff --git a/lustre/ptlrpc/lproc_ptlrpc.c b/lustre/ptlrpc/lproc_ptlrpc.c index 8d61f3d522bcfbbaa9db84bcc96a3e4cbdaed4c9..8eb11fcae9357e8d98131386508d7524009a7f1e 100644 --- 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);