Skip to content

don't crash nouveau_index_updater for any DOWN Reason#5092

Merged
rnewson merged 1 commit intomainfrom
nouveau-manager-crash-fix
Jun 18, 2024
Merged

don't crash nouveau_index_updater for any DOWN Reason#5092
rnewson merged 1 commit intomainfrom
nouveau-manager-crash-fix

Conversation

@rnewson
Copy link
Member

@rnewson rnewson commented Jun 18, 2024

Hard to induce in a unit test but under stress it is possible to get back Reason's like {timeout, {gen_server, call, ... among others. Pass these along to the client processes and do not crash the manager.

With this patch we log anything that wasn't ok but always reply with whatever Reason was so clients aren't left waiting.

@rnewson rnewson force-pushed the nouveau-manager-crash-fix branch from 8479746 to 316e931 Compare June 18, 2024 16:23
Hard to induce in a unit test but under stress it is possible to get back
Reason's like `{timeout, {gen_server, call, ...` among others. Pass these
along to the client processes and do not crash the manager.
@rnewson rnewson force-pushed the nouveau-manager-crash-fix branch from 316e931 to 03f2f1f Compare June 18, 2024 16:26
@rnewson rnewson merged commit 031e762 into main Jun 18, 2024
@rnewson rnewson deleted the nouveau-manager-crash-fix branch June 18, 2024 20:02
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.

2 participants

Comments