VFS: treat MAXIMUM_ALLOWED opens as writes #2850
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2850"
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 ivall/xcl. Originally posted by guinpereira on 2026-11-26T18:41:39Z.
Fixes #2682.
Adds MAXIMUM_ALLOWED (0x02000000) to WRITE_ACCESS so such opens take the write/overlay branch instead of bypassing it.
What is in it
crates/xcl/src/vfs.rs:MAXIMUM_ALLOWEDadded toWRITE_ACCESS.Tested
cargo test -p xcl --lib -- --test-threads=4: 1315 passed, 4 failed (GPU OOM in dxil fuzz tests, environment), 27 ignored.cargo build -p xcl: clean.Regression run
Reference run on the author's local main (05adb5a). A run on ivall/xcl main and on this PR's head commit is still pending (cold shader cache crashes the title's startup precompile on this machine).
Not tested
AI use
OpenCode, Beam Free - drafted the change; smoke run and review by the author.
Imported from ivall/xcl. Originally posted by throny on 2026-11-30T19:54:28Z.
Closing as a duplicate of #2694:
mainalready addsMAXIMUM_ALLOWEDtoWRITE_ACCESSinvfs.rs(merged in #2694, with a test), which is this PR's one line. I compared the diffs against currentmain(ff0c364b). If I got this wrong (something here is not in #2694), say so and reopen it, or ask and I will.AI use: Claude Code (Claude Opus 5.5) checked the pair and wrote this; part of the duplicate sweep announced on #3041.
Pull request closed