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

DOAS-16936 object: simplify object collective RPC forward logic #15783

Draft
wants to merge 1 commit into
base: release/2.6
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/object/obj_utils.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/**
* (C) Copyright 2018-2024 Intel Corporation.
* (C) Copyright 2025 Hewlett Packard Enterprise Development LP
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
Expand Down Expand Up @@ -594,6 +595,7 @@ obj_coll_disp_init(uint32_t tgt_nr, uint32_t max_tgt_size, uint32_t inline_size,
max_width = COLL_DISP_WIDTH_DEF;
}

#if 0
if (tgt_nr - start > max_width) {
ocdc->grp_nr = max_width;
ocdc->cur_step = (tgt_nr - start) / max_width;
Expand All @@ -604,10 +606,13 @@ obj_coll_disp_init(uint32_t tgt_nr, uint32_t max_tgt_size, uint32_t inline_size,
ocdc->fixed_step = 1;
}
} else {
#endif
ocdc->grp_nr = tgt_nr - start;
ocdc->cur_step = 1;
ocdc->fixed_step = 1;
#if 0
}
#endif

ocdc->pending_grps = ocdc->grp_nr;
ocdc->tgt_nr = tgt_nr;
Expand Down
Loading