Skip to content
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

DAOS-6748 placement: Do not clear used_tgts in get_target (#4751) #4829

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

wangdi1
Copy link
Contributor

@wangdi1 wangdi1 commented Mar 2, 2021

Do not clear used_tgts in get_targets, since we do not want
put multiple shards in a single VOS target yet, which could
happen when there are different VOS targets in each fault
domain.

Add dom_occupied to get_targets to represent the domain whose
targets has been used up for the objects, so to avoid the
domain to be choosen.

Do not need rehash within the same rank, if the targets has been
used, let's just walk through the targets to find the avaible
spots.

Signed-off-by: Di Wang di.wang@intel.com

Do not clear used_tgts in get_targets, since we do not want
put multiple shards in a single VOS target yet, which could
happen when there are different VOS targets in each fault
domain.

Add dom_occupied to get_targets to represent the domain whose
targets has been used up for the objects, so to avoid the
domain to be choosen.

Do not need rehash within the same rank, if the targets has been
used, let's just walk through the targets to find the avaible
spots.

Signed-off-by: Di Wang <di.wang@intel.com>
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@daosbuild1
Copy link
Collaborator

Test stage Scan CentOS 7 RPMs completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-4829/1/execution/node/1161/log

@daosbuild1
Copy link
Collaborator

Test stage Functional_Hardware_Large completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-4829/1/display/redirect

@johannlombardi
Copy link
Contributor

This should land ASAP to avoid incompat between master and 1.2.

@johannlombardi johannlombardi merged commit f0ba094 into release/1.2 Mar 5, 2021
@johannlombardi johannlombardi deleted the daos_6748_1.2 branch March 5, 2021 07:47
@ashleypittman ashleypittman mentioned this pull request Apr 28, 2021
@ashleypittman ashleypittman mentioned this pull request May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants