HLE: identify DirectStorage physical page write failures #329
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!329
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-329"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@avt0m4t48 on GitHub · 2026-11-24 23:34 UTC · original
avt0m4t48:fix/dstorage-physical-write-diagnostics→main· +92 −67 · 2 files · 3 commits · openRefs #268.
DirectStorage's terminal physical-page write warning reports the unknown page ID, an invalid page range, or the Win32 mapping or commit error captured at the failure site. The branch includes main's new buffered-write retry behavior. If it exhausts its retries, it logs the retry count and the final attempt's specific error in the same warning. The request still reports E_INVALIDARG.
On the updated head, seven source-built checks passed using the production destination and physical-memory logic with simulated Win32 calls. With retries off, the original five checks cover direct writes, fallback, missing pages, map failure and commit failure. With two retries enabled, one check verifies a transient write recovers and logs the number of attempts. Another verifies a map error followed by commit errors reports the final commit error. The diagnostic assertion for the final attempt failed on main. Windows MSVC HLE and GPU test targets type-checked with warnings denied.
Native Windows error injection and the cutscene symptom remain unverified. AI-assisted using Codex.
@avt0m4t48 on GitHub · 2026-11-25 14:11 UTC · original
Merged
0b0074einto this branch at2014383. The resolution preserves the new retry counters and page-written notifications and adds the final write error to the terminal warning.The seven simulated host-error controls still pass, including a successful retry and an exhausted sequence where the final error differs from the first. Native Windows also passed all 14 DirectStorage tests and 12 physical-memory tests. The native suite exercises source-built requests and page mappings. Host mapping/commit errors were injected in the separate simulation.
Exact-head Windows run
AI-assisted using Codex.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.