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

scst: Confirm percpu refs has scheduled and switched to atomic #176

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

lnocturno
Copy link
Contributor

This patch replaces percpu_ref_kill() with percpu_ref_kill_and_confirm() to guarantee safe usage of references in atomic mode immediately afterwards.

This change ensures accurate checking of active commands following the initial reference killing.

Reported-by: Lev Vainblat lev@zadarastorage.com

This patch replaces percpu_ref_kill() with percpu_ref_kill_and_confirm()
to guarantee safe usage of references in atomic mode immediately
afterwards.

This change ensures accurate checking of active commands following the
initial reference killing.

Reported-by: Lev Vainblat <lev@zadarastorage.com>
@lnocturno lnocturno merged commit 6a92549 into master Jun 28, 2023
@lnocturno lnocturno deleted the gleb/3.8/fix_suspend branch June 28, 2023 16:31
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.

1 participant