New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osd: use the sum of max allowed backfill and recovery as max_allowed #19036
Conversation
…ax_allowed also, it would be easier to trigger the preemption of recovery by decreasing the reserver's max_allowed. Fixes: http://tracker.ceph.com/issues/22043 Signed-off-by: Kefu Chai <kchai@redhat.com>
I don't think this is right. The reserver max(es) really should be the # of PGs that are undergoing backfill, and the max_active is the number of ops in flight for those PGs. |
the backfill and recovery are sharing the same local and remote reservers. so in addition to undergoing backfills, i think we should take the undergoing recoveries into account. see https://github.com/ceph/ceph/blob/master/src/osd/PG.cc#L6958 |
@tchaikov
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@tchaikov this might be useful for https://trello.com/c/lQTxKQow/408-osd-make-recovery-limits-separate-from-osdmaxbackfills, could you please rebase this. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
…ax_allowed
also, it would be easier to trigger the preemption of recovery by
decreasing the reserver's max_allowed.
Fixes: http://tracker.ceph.com/issues/22043
Signed-off-by: Kefu Chai kchai@redhat.com