Skip to content

nvme_driver: Log pci device id when creating new queues (#2906)#3250

Open
gurasinghMS wants to merge 1 commit intomicrosoft:release/1.7.2511from
gurasinghMS:cherrypick/release/1.7.2511/pr-2906
Open

nvme_driver: Log pci device id when creating new queues (#2906)#3250
gurasinghMS wants to merge 1 commit intomicrosoft:release/1.7.2511from
gurasinghMS:cherrypick/release/1.7.2511/pr-2906

Conversation

@gurasinghMS
Copy link
Copy Markdown
Contributor

Clean cherry pick of PR #2906

Minor change. Came across this issue when debugging a case with several queues.

P.S. Had to do some type gymnastics to avoid the immutable reference borrow (string being sent to the info span)

Minor change. Came across this issue when debugging a case with several
queues.

P.S. Had to do some type gymnastics to avoid the immutable reference
borrow (string being sent to the info span)

(cherry picked from commit 1e28edf)
Copilot AI review requested due to automatic review settings April 10, 2026 23:33
@gurasinghMS gurasinghMS requested review from a team as code owners April 10, 2026 23:33
@github-actions github-actions bot added the release_1.7.2511 Targets the release/1.7.2511 branch. label Apr 10, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds the NVMe PCI device identifier to the tracing span used when creating new IO queues, improving diagnostics when multiple queues are present (particularly useful during debugging).

Changes:

  • Capture the device PCI id before starting the async queue-creation path to avoid borrow conflicts.
  • Attach pci_id as a field on the create_nvme_io_queue info span.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_1.7.2511 Targets the release/1.7.2511 branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants