Skip to content

telemetry-log: Fix telemetry-log invalid argument error#3507

Merged
igaw merged 1 commit into
linux-nvme:masterfrom
jeff-lien-sndk:telemetry-log-fix
Jun 26, 2026
Merged

telemetry-log: Fix telemetry-log invalid argument error#3507
igaw merged 1 commit into
linux-nvme:masterfrom
jeff-lien-sndk:telemetry-log-fix

Conversation

@jeff-lien-sndk

Copy link
Copy Markdown
Contributor

Use a dynamically determined transfer size when retrieving the host and controller telemetry logs to avoid invalid argument error.

Use a dynamically determined transfer size when retrieving
the host and controller telemetry logs to avoid invalid
argument error.

Signed-off-by: jeff-lien-sndk <jeff.lien@sandisk.com>
Comment thread nvme-cmds.h
nvme_init_get_log_telemetry_host(&cmd, lpo, log, len);

return libnvme_get_log(hdl, &cmd, false, len);
return libnvme_get_log_dynamic_chunk(hdl, &cmd, false, len);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes me wonder if we should do the dynamic chunking on default...

@igaw igaw merged commit 1b8ba2a into linux-nvme:master Jun 26, 2026
32 checks passed
@igaw

igaw commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Thanks!

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