[pull] master from linux-nvme:master#227
Merged
Merged
Conversation
Add support for the following devices: SNDK_NVME_SNESSD3_DEV_ID_E2 0x2770 SNDK_NVME_SNESSD3_DEV_ID_U2 0x2771 SNDK_NVME_SNESSD3_DEV_ID_E3L 0x2772 SNDK_NVME_SNESSD3_DEV_ID_E3S 0x2773 SNDK_NVME_SNESSD3_DEV_ID_E1L 0x2774 Signed-off-by: jeff-lien-sndk <jeff.lien@sandisk.com>
The Address string combines several fields into a string, which forces the user to parse the string. Add AddressDetails which splits out fields into separate key/value pairs. Signed-off-by: Daniel Wagner <wagi@kernel.org>
Make the async passthru interface more useful by supporting different workflows: - Simple synchronous (one at a time): libnvme_exec_admin_passthru(hdl, &cmd); - Simple batching (submit multiple, wait for all): libnvme_submit_admin_passthru(hdl, &cmd1); libnvme_submit_admin_passthru(hdl, &cmd2); libnvme_wait_admin_passthru(hdl); - Full async control (submit and reap selectively): libnvme_submit_admin_passthru_async(hdl, &cmd1, cookie1); libnvme_submit_admin_passthru_async(hdl, &cmd2, cookie2); libnvme_reap_admin_passthru_async(hdl, &completion); Reverted the behavior of libnvme_submit_*_passthru() to always be synchronous. This forces the caller to explicitly handle the switch from async to sync logic. Explicit API behavior is more maintainable than implicit behavior. Signed-off-by: Daniel Wagner <wagi@kernel.org>
Add tests cases for the async submission API. Since there is no easy way to tests async test, it only tests the fallback mode, when there is no io_uring. Signed-off-by: Daniel Wagner <wagi@kernel.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )