Fix #2503: tell GPU write watch before DirectStorage page writes #3060

Closed
github-bot wants to merge 1 commit from gh-pr/3060/head into gh-pr/3060/base
Owner

@⁠tharun-37 on GitHub · 2026-11-26 05:50 UTC · original
tharun-37:fix/directstorage-write-watch-fresh → main · +32 −11 · 1 files · 1 commits · closed without merging

write_physical and PageWindow called kernel_will_write (watch::writing) after writing through our own views. The watch must be told before the write so it saves the page's original bytes and keeps the guarded blocks open during the write.

Now report_written returns Writing guards that stay alive during the write, write_physical reports current views after the write, and PageWindow holds pre-write guards until dropped and reports views currently showing the pages on drop.

Fixes #2503.

**@⁠tharun-37** on GitHub · 2026-11-26 05:50 UTC · [original](https://github.com/Marvisak/VIctory/pull/3060) `tharun-37:fix/directstorage-write-watch-fresh` → `main` · +32 −11 · 1 files · 1 commits · closed without merging write_physical and PageWindow called kernel_will_write (watch::writing) after writing through our own views. The watch must be told before the write so it saves the page's original bytes and keeps the guarded blocks open during the write. Now report_written returns Writing guards that stay alive during the write, write_physical reports current views after the write, and PageWindow holds pre-write guards until dropped and reports views currently showing the pages on drop. Fixes #2503.
write_physical and PageWindow called kernel_will_write (watch::writing)
after writing through our own views. The watch must be told before the
write so it saves the page's original bytes and keeps the guarded blocks
open during the write.

Now report_written returns Writing guards that stay alive during the
write, write_physical reports current views after the write, and
PageWindow holds pre-write guards until dropped and reports views
currently showing the pages on drop.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:27:48 +00:00
github-bot closed this pull request 2026-11-26 06:27:48 +00:00
Author
Owner

@⁠tharun-37 on GitHub · 2026-11-26 05:51 UTC · original

Don't create new PRs; continuing on #3037

**@⁠tharun-37** on GitHub · 2026-11-26 05:51 UTC · [original](https://github.com/Marvisak/VIctory/pull/3060#issuecomment-7183874634) Don't create new PRs; continuing on #3037

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!3060
No description provided.