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

nvme: don't fail on abort cmd #581

Merged
merged 3 commits into from
Dec 4, 2023
Merged

nvme: don't fail on abort cmd #581

merged 3 commits into from
Dec 4, 2023

Conversation

luqmana
Copy link
Contributor

@luqmana luqmana commented Dec 4, 2023

Abort is a mandatory NVMe command and we were previously just returning STS_INTERNAL_ERR (06h - Internal Device Error ). Even without fully supporting aborting commands we can do better than that since it's a best effort command.

This change just adds some validation and immediately completes an abort request indicating the command in question wasn't aborted.

@luqmana luqmana merged commit 0bdad6d into master Dec 4, 2023
10 checks passed
@luqmana luqmana deleted the luqmana/nvme-abort branch December 4, 2023 23:41
rcgoodfellow pushed a commit that referenced this pull request Dec 5, 2023
`Abort` is a mandatory NVMe command and we were previously just returning `STS_INTERNAL_ERR` (`06h - Internal Device Error` ). Even without fully supporting aborting commands we can do better than that since it's a best effort command.

This change just adds some validation and immediately completes an abort request indicating the command in question _wasn't_ aborted.
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