Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-7733

ptlrpc_lprocfs_svc_req_history_show (Seq_printf) time resolution should be higher than 1 second.

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.9.0
    • Lustre 2.5.3
    • None
    • 9223372036854775807

    Description

      We would like to see a higher time resolution in ptlrpc_lprocfs_svc_req_history_show output.

      Here we see it is only printing up to a second.

      seq_printf(s, LPD64":%s:%s:x"LPU64":%d:%s:%ld:%lds(%+lds) ",
                                 req->rq_history_seq, libcfs_nid2str(req->rq_self),
                                 libcfs_id2str(req->rq_peer), req->rq_xid,
                                 req->rq_reqlen, ptlrpc_rqphase2str(req),
                                 req->rq_arrival_time.tv_sec,
                                 req->rq_sent - req->rq_arrival_time.tv_sec,
                                 req->rq_sent - req->rq_deadline);
      

      Attachments

        Activity

          People

            bogl Bob Glossman (Inactive)
            mhanafi Mahmoud Hanafi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: