storage: implement next DirectStorage/BCPack slice (Part of #1198) #2076
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2083"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T00:04:13Z.
Part of #1198
What this unblocks: the "follow one failing request's generation through its status poll and a later write to the same destination" experiment the owner asked for in #1198, as a source-built fixture.
What it adds
startup_storage_refused_reusereuses one mapped page (no release in between) with three page-destination zlib requests in one Submit, all ending at the first page's end (page_offset 0xF000,destination_size 0x1000):Also checked: fence order and positions, the stand-in log outcomes, and that sentinel, R1, R2 and V never share a byte at any destination offset.
Negative control
startup_storage_refused_reuse_accept_refused_control: a consumer that takes R1's destination as data must fail ("matches the stream prefix in 0 of 4096").Not covered: the console's own status-array layout (still the open semantics question).
Verification
Executed locally (Linux):
git diff --check: clean.x86_64-w64-mingw32-g++ -std=c++17 -Wall -Wextra -fsyntax-only tests/startup_storage_refused_reuse.cpp: only the same function-cast warnings the sibling test has.Win2025 commands not yet executed (no Windows build on this host):
cmake --build --preset release --target startup_storage_refused_reusectest --preset release -R startup_storage_refused_reuse --output-on-failureAI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T01:34:00Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
efbc9b9ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T01:48:34Z.
The Windows Release fixture passed both CTest cases. I updated the three generated requests after #2129 to use distinct 64-bit CancellationTag values independent of their decoded lengths. The failed/valid/failed sequence gives E_FAIL/S_OK/E_FAIL at the respective fences, and the invalid consumer matches 0 of 4096 bytes. This verifies the stand-in against a source-built sequence.