Repository navigation
Conversation
…TORAGE-DEST-PAGES) The page array is read when the request runs: the retail title passes a pointer into its own live page table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent check: Windows 10 Pro 22H2 (19045), VS 2022 RelWithDebInfo, merged onto |
|
Closing this one: #984 brought another implementation of the same thing to
The claim RT-DSTORAGE-DEST-PAGES can be dropped from the table. AI-assisted (Claude Code). |
Claim: RT-DSTORAGE-DEST-PAGES (#14 (comment)).
A DirectStorage request with
DestinationIsPhysicalPagesruns into a staging buffer and its bytes then go to the 64 KiB pagesXMemAllocatePhysicalPagesgave out (rt::xmem::write_physical_pages), so every address they are mapped at sees them. Until now it answeredE_NOTIMPL.The page array is read when the request runs, not at enqueue. The retail title passes a pointer into its own page table: at enqueue the entries are 0, and they are filled by the time the request runs. Measured on 1.0.2.1 (in my prototype stack): with a copy taken at enqueue nearly every such request named page 0; read late, no request failed in a 240 s run that reaches the loading screen.
The xmem shim is called through a pointer, as
dstorage_testdoes not link it; without it such a request staysE_NOTIMPL. Physical-page sources stayE_NOTIMPL(none has been seen).Tested
dstorage_test: 341 checks, 0 failures (new: the table filled after enqueue, the offset, three pages, a page that is not live, a null and an unreadable array).xmem_test: 220 checks OK (new: writes across pages, into uncommitted ones, bad page numbers). Windows 11, MSVC, Release-with-debug-info, onmain.AI-assisted (Claude Code, Opus 5.5).
🤖 Generated with Claude Code