Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quincy: mds/MDSRank: Add set_history_slow_op_size_and_threshold for op_tracker #53358

Merged
merged 1 commit into from
Jan 23, 2024

Commits on Sep 10, 2023

  1. mds/MDSRank: Add set_history_slow_op_size_and_threshold for op_tracker

    void OpHistory::_insert_delayed(const utime_t& now, TrackedOpRef op)
    {
    ...
      double opduration = op->get_duration();
    ...
      if (opduration >= history_slow_op_threshold.load()) {
        slow_op.insert(make_pair(op->get_initiated(), op));
        logger->inc(l_trackedop_slow_op_count);
      }
    ...
    }
    mds op_tracker have no set slow op threshold, and history_slow_op_threshold default
    value is 0, cause to mds have slow op alway.
    
    Fixes: https://tracker.ceph.com/issues/61749
    Signed-off-by: Yite Gu <yitegu0@gmail.com>
    (cherry picked from commit 9b88a47)
    YiteGu authored and k0ste committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    11c1ce0 View commit details
    Browse the repository at this point in the history