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

layered: Fix init_task #233

Merged
merged 1 commit into from
Apr 18, 2024
Merged

layered: Fix init_task #233

merged 1 commit into from
Apr 18, 2024

Conversation

Byte-Lab
Copy link
Contributor

@Byte-Lab Byte-Lab commented Apr 18, 2024

When I transitioned layered to using task local storage, I messed up initializing the task_ctx, not realizing we had a separate object that was previously being used to initialize the hashmap entry. We need to initialize the task's layer to -1, and also set refresh_layer to 1.

@Byte-Lab Byte-Lab requested a review from htejun April 18, 2024 14:43
When I transitioned layered to using task local storage, I messed up
initializing the task ctx, not realizing we previously had a separate
variable that was initializing the hasmap entry. We need to initialize
the task's layer to -11, and also set refresh_layer to 1.

Signed-off-by: David Vernet <void@manifault.com>
@htejun htejun merged commit 7b4d231 into main Apr 18, 2024
1 check passed
@htejun htejun deleted the layer_init_task branch April 18, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants