DirectStorage: a head read too big for staging lets the next lane start (VICTORY_DSTORAGE_STAGING_NEXT=1) #2332
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2332"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T12:05:58Z.
When the head read of the lane picked by weight does not fit in the staging buffer, every worker waits for a finish, even when other lanes have reads that would fit. With
VICTORY_DSTORAGE_STAGING_NEXT=1the scheduler starts the next lane by weight whose head fits, and marks the start as starved so the left-behind head is tried again at the next finish.The same switch gives a request's staging back once its source is read instead of when the whole request is done, so decoding (zlib, BCPack) no longer holds staging.
Off by default, so nothing changes unless it is set.
Tests:
a_head_too_big_for_staging_lets_the_next_lane_startcovers both settings, and the zlib failure test now checks thatexecutereports the source as read before zlib fails.