Skip to content

plugins/lm: Pass numd option to nvme_lm_migration_recv#2753

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
DanceDance:lm-migration-recv-numd-fix
Apr 1, 2025
Merged

plugins/lm: Pass numd option to nvme_lm_migration_recv#2753
igaw merged 1 commit intolinux-nvme:masterfrom
DanceDance:lm-migration-recv-numd-fix

Conversation

@DanceDance
Copy link
Copy Markdown
Contributor

@DanceDance DanceDance commented Mar 28, 2025

Forward the user-provided 'numd' value from the command-line options to the underlying nvme_lm_migration_recv library function call.

The lm_migration_recv function parsed the --numd option but failed to pass the value (cfg.numd) when calling the library function nvme_lm_migration_recv.

The library function nvme_lm_migration_recv requires this value to set command parameters (CDW15) and calculate the expected data transfer length. libnvme/src/nvme/ioctl.c at master · linux-nvme/libnvme

Forward the user-provided 'numd' value from the command-line options
to the underlying nvme_lm_migration_recv library function call.

Signed-off-by: Dmitry Sherstoboev <[email protected]>
@ikegami-t
Copy link
Copy Markdown
Contributor

Looks good.

@igaw igaw merged commit eb67f3b into linux-nvme:master Apr 1, 2025
17 checks passed
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Apr 1, 2025

Thanks!

@DanceDance DanceDance deleted the lm-migration-recv-numd-fix branch April 8, 2025 23:41
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.

3 participants