Feature #17861
osd: add asok command to dump the scrub queue
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?
History
#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.
#2 Updated by Chang Liu about 7 years ago
I would like to implement it.
#3 Updated by Chang Liu about 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".
#4 Updated by Kefu Chai about 7 years ago
- Status changed from New to Fix Under Review
#5 Updated by Kefu Chai about 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.
#6 Updated by Kefu Chai about 7 years ago
- Category set to OSD
- Status changed from Fix Under Review to Resolved
- Source changed from other to Development