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

tree: Allocate aligned payloads for namespace scan #727

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

tbzatek
Copy link
Contributor

@tbzatek tbzatek commented Oct 10, 2023

Related to linux-nvme/nvme-cli#2051, there are a couple more ioctls made during the tree scan inside of libnvme. Last bits to fix the whole story, hopefully.

Noticed by https://bugs.archlinux.org/task/79760#comment222718

Similar to nvme-cli an alloc helper is needed for a couple
of ioctls sent out during tree scan.

Signed-off-by: Tomas Bzatek <[email protected]>
libnvme is actually doing some namespace identification
during tree scan, leading to stack smash on some systems.

Signed-off-by: Tomas Bzatek <[email protected]>
@igaw igaw merged commit 68c6ffb into linux-nvme:master Oct 10, 2023
13 checks passed
@igaw
Copy link
Collaborator

igaw commented Oct 10, 2023

Thanks!

@igaw
Copy link
Collaborator

igaw commented Oct 10, 2023

IIRC, we have a few more places where we should use the newly introduced __nvme_alloc helper.

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