Project

General

Profile

Actions

Feature #17861

closed

osd: add asok command to dump the scrub queue

Added by Samuel Just over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Indicate scheduled/forced, deep/shallow?
Add a way to filter above?

Actions #1

Updated by Robin Johnson over 7 years ago

For additional parts, a way to REMOVE items from that same scrub queue would be a good addition.

Actions #2

Updated by Chang Liu over 7 years ago

I would like to implement it.

Actions #3

Updated by Chang Liu over 7 years ago

add "dump_scrubs" at https://github.com/ceph/ceph/pull/12728

I will implement REMOVE in another PR.

Please Change Status to "Need Review".

Actions #4

Updated by Kefu Chai over 7 years ago

  • Status changed from New to Fix Under Review
Actions #5

Updated by Kefu Chai over 7 years ago

deep/shallow are not determined until the scrub job is moved out of the queue, so we cannot tell a scrub is a deep or shallow one.

but we can tell if the scrub job is a scheduled one or a forced one by comparing its deadline and sched_time.

Actions #6

Updated by Kefu Chai over 7 years ago

  • Category set to OSD
  • Status changed from Fix Under Review to Resolved
  • Source changed from other to Development
Actions

Also available in: Atom PDF