Skip to content

Conversation

@mattkur
Copy link
Contributor

@mattkur mattkur commented Nov 25, 2025

Clean cherry pick of PR #2456.

Looking at production data, I found that restoring the IO queues took
significantly longer than I expected. In those same runs, there was no
outstanding IO to those queues at the time of save. Since there's no
outstanding IO, there's no need to create the IO queue at restore time:
the purpose of creating the queue would be to handle completions. No
pending commands means no completions.

This won't help in the case where every IO QP has outstanding commands,
but it will help in cases where there are idle devices. And,
philosophically, we want to do as little during VP blackout as we can
get away with.

…o ouststanding IO to that queue (microsoft#2456)

Looking at production data, I found that restoring the IO queues took
significantly longer than I expected. In those same runs, there was no
outstanding IO to those queues at the time of save. Since there's no
outstanding IO, there's no need to create the IO queue at restore time:
the purpose of creating the queue would be to handle completions. No
pending commands means no completions.

This won't help in the case where every IO QP has outstanding commands,
but it will help in cases where there are idle devices. And,
philosophically, we want to do as little during VP blackout as we can
get away with.
Copilot AI review requested due to automatic review settings November 25, 2025 05:14
@mattkur mattkur requested review from a team as code owners November 25, 2025 05:14
@mattkur mattkur requested review from a team and removed request for Copilot November 25, 2025 05:14
@github-actions github-actions bot added the release_1.7.2511 Targets the release/1.7.2511 branch. label Nov 25, 2025
@mattkur mattkur changed the title nvme_driver: delay io queue create to be post restore iff there are no ouststanding IO to that queue (#2456) DO NOT MERGE: nvme_driver: delay io queue create to be post restore iff there are no ouststanding IO to that queue (#2456) Nov 25, 2025
@mattkur
Copy link
Contributor Author

mattkur commented Nov 25, 2025

Creating now to make sure we don't forget about this PR. But, I'd like to get additional test coverage in main before I complete. Will check back the 1st week of December.

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.

1 participant