diff options
author | David Zafman <dzafman@redhat.com> | 2017-04-17 23:58:02 +0200 |
---|---|---|
committer | David Zafman <dzafman@redhat.com> | 2017-04-17 23:58:02 +0200 |
commit | ebab8b1f4f67fbdec1e147c580329c1e2b5cf7cd (patch) | |
tree | 8b513ca6ad6a886d143d71d4e6518afb3509acd2 /src/osd/PG.h | |
parent | Merge pull request #14290 from wjwithagen/wip-wjw-freebsd-procprefix (diff) | |
download | ceph-ebab8b1f4f67fbdec1e147c580329c1e2b5cf7cd.tar.xz ceph-ebab8b1f4f67fbdec1e147c580329c1e2b5cf7cd.zip |
osd: Give requested scrub work a higher priority
Once started we now queue scrub work at higher priority than
scheduled scrubs.
Fixes: http://tracker.ceph.com/issues/15789
Signed-off-by: David Zafman <dzafman@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | src/osd/PG.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osd/PG.h b/src/osd/PG.h index 4763859d66b..e5530a11ff7 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -1159,6 +1159,9 @@ public: // flags to indicate explicitly requested scrubs (by admin) bool must_scrub, must_deep_scrub, must_repair; + // Priority to use for scrub scheduling + unsigned priority; + // this flag indicates whether we would like to do auto-repair of the PG or not bool auto_repair; |