Skip to content

[pull] master from linux-nvme:master#227

Merged
pull[bot] merged 4 commits into
zengqingfu1442:masterfrom
linux-nvme:master
Jun 3, 2026
Merged

[pull] master from linux-nvme:master#227
pull[bot] merged 4 commits into
zengqingfu1442:masterfrom
linux-nvme:master

Conversation

@pull

@pull pull Bot commented Jun 3, 2026

Copy link
Copy Markdown

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 : )

jeff-lien-sndk and others added 4 commits June 3, 2026 16:01
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>
@pull pull Bot locked and limited conversation to collaborators Jun 3, 2026
@pull pull Bot added the ⤵️ pull label Jun 3, 2026
@pull pull Bot merged commit c7ca761 into zengqingfu1442:master Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants