Feature #13077
osd: new pool settings: scrub_interval, deep_scrub_interval
0%
Description
Right now it is possible to control frequency of scrub runs via config using these parameters:
osd_deep_scrub_interval
osd_scrub_min_interval
osd_scrub_max_interval
As data in different pools might have different importance and need different protection, it would be nice to be able to control this per pool:
ceph osd pool set $POOL deep_scrub_interval N
ceph osd pool set $POOL scrub_interval N
If N > 0 for deep_scrub_interval, it is used for this pool instead of the global osd_deep_scrub_interval from the config.
If N > 0 for scrub_interval, it is used for this pool instead of the global osd_deep_scrub_max_interval from the config (I suppose it is not necessary to introduce both scrub_min_interval and scrub_max_interval here).
Associated revisions
osd: new pool settings: scrub intervals
ceph osd pool set $POOL scrub_min_interval N
ceph osd pool set $POOL scrub_max_interval N
ceph osd pool set $POOL deep_scrub_interval N
If N > 0, this value is used for the pool instead of
the corresponding global parameter from the config
(osd_scrub_min_interval, osd_scrub_max_interval or
osd_deep_scrub_interval).
Fixes: #13077
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
osd: store per pool scrub intervals in pool options
ceph osd pool set $POOL scrub_min_interval N
ceph osd pool set $POOL scrub_max_interval N
ceph osd pool set $POOL deep_scrub_interval N
If N > 0, this value is used for the pool instead of
the corresponding global parameter from the config
(osd_scrub_min_interval, osd_scrub_max_interval or
osd_deep_scrub_interval).
Fixes: #13077
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
History
#1 Updated by Mykola Golub over 8 years ago
#2 Updated by Sage Weil over 8 years ago
- Status changed from New to Resolved