Project

General

Profile

Feature #17861

osd: add asok command to dump the scrub queue

Added by Samuel Just 6 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
Start date:
11/10/2016
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
User Impact:
Affected Versions:
Release:
Needs Doc:
No

Description

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

History

#1 Updated by Robin Johnson 6 months ago

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

#2 Updated by Chang Liu 4 months ago

I would like to implement it.

#3 Updated by Chang Liu 4 months 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".

#4 Updated by Kefu Chai 4 months ago

  • Status changed from New to Need Review

#5 Updated by Kefu Chai 4 months 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.

#6 Updated by Kefu Chai 4 months ago

  • Category set to OSD
  • Status changed from Need Review to Resolved
  • Source changed from other to Development

Also available in: Atom PDF