Skip unused write-watch snapshots in refresh batches #2267

Open
FIocker wants to merge 1 commit from upstream-pr/2267 into main
FIocker commented 2026-11-29 11:12:31 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by FIocker on 2026-11-29T11:12:31Z.


Two refresh paths take the write-watch journal read lock and copy its ahead ranges into a buffer whose contents neither path reads. Remove the unused snapshots and their buffer. The existing refresh decisions and the ask-ahead sequence stay intact.

Verified the source diff against current main with git diff --check. Build and timing are pending.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5550143061 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2267). Originally posted by [FIocker](https://github.com/FIocker) on 2026-11-29T11:12:31Z. --- Two refresh paths take the write-watch journal read lock and copy its ahead ranges into a buffer whose contents neither path reads. Remove the unused snapshots and their buffer. The existing refresh decisions and the ask-ahead sequence stay intact. Verified the source diff against current main with git diff --check. Build and timing are pending.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2267:upstream-pr/2267'
git switch 'upstream-pr/2267'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2267'
git switch 'upstream-pr/2267'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2267'
git switch 'upstream-pr/2267'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2267'
git switch 'main'
git merge --squash 'upstream-pr/2267'
git switch 'main'
git merge --ff-only 'upstream-pr/2267'
git switch 'main'
git merge 'upstream-pr/2267'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!2267
No description provided.