Skip to content

DirectStorage: wake waiters from ordered completion events - #80

Draft
bmjask wants to merge 1 commit into
stack/076-texture-write-provenancefrom
stack/077-dstorage-ordered-events
Draft

bmjask wants to merge 1 commit into
stack/076-texture-write-provenancefrom
stack/077-dstorage-ordered-events

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #79.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates directstorage: wake waiters from ordered completion events as one reviewable step in the redesign.

Upstream overlap

This adapts upstream PR xcl-dev#2569 and is retained only as an internal reconciliation draft.

What is in it

  • db684626 is the cleaned-stack form of integrated commit e205012c.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

Implement IDStorageQueueX1::EnqueueSetEvent as an ordered queue marker. The queue owns a restricted duplicate handle until every earlier request retires, then signals it; Close safely discards pending markers.

Adapted from xcl-dev#2569 with sequential auto-submit, parallel retirement ordering, caller-handle lifetime, and Close coverage. Upstream reports full Windows suite and retail smoke coverage.

Locally cross-checked with the GNU Windows target; Windows event execution remains untested here.

Assisted-by: Codex (GPT-6.2 Sol)

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/076-texture-write-provenance branch from 48caf44 to ba84799 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/077-dstorage-ordered-events branch from bfe60ff to 5c52402 Compare November 27, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant