-
Notifications
You must be signed in to change notification settings - Fork 1
Adopt second set of API changes #5
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
Adopt second set of API changes #5
Conversation
6789734 to
aa1fc39
Compare
|
@igaw I did not touch spec related variable names for vendor plugins (nvme: nvme_set_features use nvme_passthru_cmd directly). What do think of this decision? |
7c070f4 to
655205e
Compare
I would not touch the vendor plugins either. Only the own plugins |
|
Looks good to me. Let me pull them. |
|
There are 54 nvme_set_features* in the code base, not all of them need an update. git diff HEAD~ | grep nvme_set_features | grep -v nvme_set_features_args | wc -l
76but at least this one looks fishy I suppose I should do a review of the patches in sequence. At least the last one needs some eagle eyes :) |
|
Sorry, while reviewing I found a few things we should fix also on the libnvme API. Let me do that first. |
I agree this looks fishy. Nice that you found this one! I will fix this. |
655205e to
fc65a42
Compare
This one should be resolved now. I double-checked the other commits in this PR for other functions that I missed for adopting the new API. I will continue with addressing the two issues you created out of this thread :) |
Drop nvme_format_nvm_args entirely. Signed-off-by: Dennis Maisenbacher <[email protected]>
Drop nvme_ns_mgmt_args entirely. Signed-off-by: Dennis Maisenbacher <[email protected]>
Drop nvme_fw_download_args entirely. Signed-off-by: Dennis Maisenbacher <[email protected]>
Drop nvme_fw_commit_args entirely. Signed-off-by: Dennis Maisenbacher <[email protected]>
Drop nvme_security_send_args entirely. Signed-off-by: Dennis Maisenbacher <[email protected]>
Drop nvme_set_features_args entirely. Signed-off-by: Dennis Maisenbacher <[email protected]>
fc65a42 to
803952c
Compare
|
I also addressed issues nvme-experiments/libnvme#28 and nvme-experiments/libnvme#29 in this PR. This PR has a dependency on nvme-experiments/libnvme#31 now. |
|
Can you please rebase it to the current nvme-cli3 branch? Unfortunately, the branch is in a bit sad state at the moment. I'll have to reorder the patches to match the order of the libnvme changes first though. |
|
I've merged these patches now. Thanks! |
This adopts the libnvme API changes until and including nvme-experiments/libnvme@b6c6bd5
I also cross-checked the specs one more time for the libnvme API changes that were picked up with these commits.