nvme_driver: blockers to adding a save/restore keepalive unit test
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.9k
- Forks
- 238
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 100
Description
Tracking the set of things that block adding a unit test for NvmeDriver::save() → NvmeDriver::restore() with keepalive.
Blockers
-
PagePool not test-friendly for save/restore —
PagePool::restore()requires exact backing size matching, which is hard to achieve when the save and restore sides use differentTestMapperinstances. The pool needs to be refactored to support test save/restore cycles, or a mockDmaClientneeds to provide PFN-stable blocks viaattach_pending_buffers(). -
Restored driver hangs on shutdown due to stale admin queue — After restore with re-allocated DMA blocks, the admin queue's pending AER command never completes because the controller's SQ/CQ BAR addresses are stale.
shutdown()waits forever. There's no force-shutdown or AER cancellation mechanism for tests.
Sub-issues track individual blockers.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.