DrvFs (9p) mount of one Windows drive dies permanently with EIO: vp9fs.dll 10.0.26100.9457 replies to a request AFTER sending Rflush for it (Tflush race); Linux 9p client disconnects
Windows Version
Microsoft Windows [Version 10.0.26200.9457] (Windows 11 25H2, KB5129195 installed 2026-09-19)
WSL Version
2.9.12.0 (also reproduced on 2.7.14.0 — the WSL package version does not matter, see "Root cause" below)
Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
Kernel Version
6.18.40.1-microsoft-standard-WSL2 (also 6.18.33.2-2)
Distro Version
Ubuntu 22.04
Other Software
C:\Windows\System32\vp9fs.dll10.0.26100.9457 (file date 2026-09-15, delivered by KB5129195), loaded in dllhost.exe — this is the Plan 9 server that serves/mnt/<drive>(DrvFs).- Previous versions on this machine, from WinSxS: 10.0.26100.8972 (Aug) and 10.0.26100.9278 (KB5124007, 2026-09-10). The failure was first observed on 2026-09-23, four days after 9457 was installed; the same workload ran on 9278 for nine days (09-10 → 09-19) and on 8972 for all of August without a single occurrence.
- Workload: Claude Code + Dart/Flutter LSP + parallel test runners on a large repo (~354,000 entries) on drive F:.
Repro Steps
There is no deterministic repro; it is a race. It reproduces within minutes to hours under this pattern:
- Mount a Windows drive with DrvFs (default automount), e.g.
/mnt/f. - Generate sustained metadata traffic on it from Linux (a recursive walk / indexer:
Twalk/Tgetattr/Tclunkat ~10,000 requests per second). - While that runs, repeatedly kill Linux processes that have DrvFs requests in flight (tool timeouts, SIGTERM/SIGKILL of child processes, Ctrl-C). Each kill makes the 9p client send
Tflushfor the in-flight requests. - Eventually every operation on
/mnt/freturnsInput/output error, forever.
Observed frequency on this machine: 6+ occurrences between 2026-09-23 and 2026-09-25, sometimes within 7 minutes of a fresh wsl --shutdown, once while the VM was otherwise idle.
Expected Behavior
After the server acknowledges a Tflush with Rflush, it must never send a reply for the flushed tag (9P2000 flush semantics). /mnt/f keeps working.
Actual Behavior
ls /mnt/f → Input/output error; stat → cannot statx '/mnt/f/...': Input/output error. Only that one drive fails; /mnt/c and /mnt/e (same physical NVMe as F:) keep working. Nothing is logged in dmesg (the relevant p9_debug(P9_DEBUG_ERROR, ...) is compiled out / disabled) and nothing in Windows event logs. Windows itself can read F: normally throughout.
Key experiment: while /mnt/f is in the EIO state, a second mount of the same drive works immediately:
# mount -t drvfs F: /tmp/ftest && head -c 200 /tmp/ftest/projects/.../settings.json → works
# ls /mnt/f → Input/output error (still)
So the Plan 9 server and the volume are healthy; only the existing 9p connection is dead. Workaround: umount -l /mnt/f && mount -t drvfs F: /mnt/f (no wsl --shutdown needed).
Root cause (from an ETW trace that spans the failure)
collect-wsl-logs.ps1 (default profile) was running when the mount died at 20:27:28 local (12:27:28 UTC). The Microsoft.Windows.Plan9.Server request/reply events for the F: connection end like this (times UTC, fields as decoded by tracerpt: tag, fid, ...):
12:27:28.236830 Request_Tgetattr tag=1 fid=16 ← a Linux process stats a file
12:27:28.236868 Request_Tflush tag=5 oldtag=2
12:27:28.236876 Request_Tflush tag=6 oldtag=4
12:27:28.236878 Request_Tflush tag=7 oldtag=3
12:27:28.236880 Request_Tflush tag=8 oldtag=1 ← that process was killed; client cancels tag 1
12:27:28.237012 Reply_Rflush tag=8 ← server: "tag 1 is cancelled"
12:27:28.237014 Reply_Rflush tag=6
12:27:28.237198 Reply_Rgetattr tag=1 ... ← 186 µs later the server STILL replies to tag 1
12:27:28.237202 Request_Tflush tag=9 oldtag=0
12:27:28.237318 Reply_Rflush tag=5
12:27:28.237370 Reply_Rflush tag=7
12:27:28.237476 Reply_Rflush tag=9
... a few more replies to requests that were already in the socket buffer ...
12:27:28.238484 Reply_Rgetattr tag=0 ← last event ever on this connection
After 12:27:28.238 there is not a single further event for this connection for the rest of the trace, while traffic on the C: connection continues normally (12:27:52 onwards).
On the Linux side this is exactly the path in net/9p/trans_fd.c (p9_read_work, linux-msft-wsl-6.18.y, lines 331–336):
m->rreq = p9_tag_lookup(m->client, m->rc.tag);
if (!m->rreq || (m->rreq->status != REQ_STATUS_SENT)) {
p9_debug(P9_DEBUG_ERROR, "Unexpected packet tag %d\n", m->rc.tag);
err = -EIO;
goto error; /* → p9_conn_cancel(m, -EIO): the connection is permanently failed */
}
The client had already processed Rflush for tag 1 and released the tag, so the late Rgetattr(tag=1) matches no in-flight request → -EIO → p9_conn_cancel → every subsequent request on that mount fails with EIO before it is even sent. The 9p client never reconnects, hence "permanent".
An audit of the whole 12-minute trace (4,256,232 Plan9 events, 291 Tflush) found 4 cases where the server sent a reply for a tag after it had already sent Rflush for it (offsets 75 µs, 15 µs, 477 µs, 186 µs). Three were harmless only because the client had already reused that tag for a new request, so the stray reply was silently misattributed (which is itself a correctness problem — wrong data returned to the wrong request). The fourth hit a released tag and killed the mount.
Whether the server's Tflush handling changed in 26100.9457 I cannot verify without sources, but the version/date correlation above is exact, and the WSL package version (2.7.14 vs 2.9.12) provably does not influence it since the server code lives in the inbox vp9fs.dll.
Diagnostic Logs
WslLogs-2026-09-25_20-18-18.tar.gz(1.1 GB,logs.etlspans the failure; the death is at 2026-09-25T12:27:28.237Z) — too large to attach here; available on request / via link.- Attached:
WSL-F-drive-9p-flush-race-evidence.txt— the decoded Plan9 events for 12:27:27.9–12:27:29.0 UTC and the flush audit output. - Guest-side:
mountshowsF: on /mnt/f type 9p (rw,relatime,aname=drvfs;path=F:;...,cache=0x5,access=client,msize=65536,trans=fd,...).
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise, please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The script will output the path of the log file once done.
If this is a networking issue, please use .\collect-wsl-logs.ps1 -LogProfile networking instead, following the instructions in Collect WSL logs for networking issues
Once completed please upload the output files to this GitHub issue.
See Collect WSL logs (recommended method).
If you choose to email these logs instead of attaching them to the bug, please send them to [email protected] with the GitHub issue number in the subject, and include a link to your GitHub issue comment in the message body, and reply with '/emailed-logs'.
Logs attached. They were collected with collect-wsl-logs.ps1 (default profile) while the failure happened, so logs.etl spans the mount death.
WslLogs-2026-09-25_20-18-18-trimmed.tar.gz(14 MB): the original bundle withlogs.etlcut down to the ETL buffers covering 12:26:30–12:28:00 UTC (plus the header and rundown buffers), because the full 1.1 GB / 80 MB-compressed file exceeds the attachment limit. The cut file decodes normally withtracerpt(767k events, 58Tflush/Rflushpairs). The full bundle is available on request.- The mount dies at 2026-09-25T12:27:28.237Z:
Reply_Rflushfor tag 8 (oldtag 1) at 12:27:28.237012Z, thenReply_Rgetattrfor tag 1 at 12:27:28.237198Z. Last event on the F: connection: 12:27:28.238484Z. C: traffic continues from 12:27:52Z. - All other files from the bundle (
*.txt,wsl.wprp,wslg/,.wslconfig) are unchanged.
Environment recap: Windows 10.0.26200.9457, vp9fs.dll 10.0.26100.9457 (KB5129195), WSL 2.9.12.0 (also 2.7.14.0), kernel 6.18.40.1.
Diagnostic information
Detected appx version: 2.9.12.0
Another reproduction, on OLDER packages than reported — plus two full incident captures. Posting field data because it strengthens the "server-side (inbox DLL)" hypothesis: the failure is not limited to vp9fs.dll 26100.9457.
- Our environment: Windows 10.0.26200.8875, inbox
C:\Windows\System32\vp9fs.dll10.0.26100.8875 (predates the 26100.9457 correlation above), WSL package 2.6.1.0, kernel 6.6.87.2-1 (predates 6.18.40.1). Ubuntu 22.04. - Two identical incidents (2026-10-10 ~16:06Z and 2026-10-11 ~14:41Z): ALL drvfs mounts (
/mnt/c,d,e,f,g,h) become permanently EIO simultaneously. The kernel log at the failure point showsOperation canceled @p9io.cpp:258 (AcceptAsync).mountstill lists every mount; everystatreturns EIO. No data loss either time. - Corroborating the trigger race: our workload generates sustained metadata traffic on a drvfs mount (recursive walks over ~1,850 directories — the walk/getattr/clunk class the report describes), and our service-supervision layer terminates processes with in-flight requests (watchdog kills, tool timeouts) — i.e., the Tflush-heavy pattern from the original report. We cannot separate the two contributors without server-side tracing, but both incidents line up with combined walk+kill activity.
- The workaround works exactly as described:
sudo umount -l /mnt/X && sudo mount -t drvfs X: /mnt/X. We have now done this for all six mounts across both incidents, live, with services running: the replacement connection is immediately healthy, nothing else is disturbed, nowsl --shutdownneeded. - Happy to provide dmesg captures, the full mount-table state at failure, and walk/kill timing around both incidents if useful.
I'm seeing the same failure on vp9fs.dll 10.0.26100.9278 (Windows 11 25H2, WSL 3.0.1.0, kernel 6.18.40.1). That's the build listed above as clean, so it's not specific to 9457. In my case it's the Docker Desktop docker-desktop distro's drvfs C:\ mount, and it dies a few times a day under bursty metadata load.
An ETW trace of one failure shows the same ordering:
10:32:09.569395 Request_Tflush tag=6 oldtag=2
10:32:09.569658 Reply_Rflush tag=6
10:32:09.569851 Reply_Rwalk tag=2 <- 193 us after its Rflush
After that, no more requests arrive on the connection, and every access returns EIO.
Another data point, on a newer Windows build and an older WSL package than those above.
- Windows 10.0.26300.9550,
C:\Windows\System32\vp9fs.dll10.0.26100.9549 (file date 2026-09-22) - WSL 2.7.3.0, kernel 6.6.114.1-1, Ubuntu 22.04; DrvFs automounts
C:on/mnt/candD:on/mnt/d
Two occurrences, on 2026-10-16 and 2026-10-28. Both times every access to /mnt/c returned Input/output error, including exec of Windows binaries; on 2026-10-16 /mnt/d failed too:
$ ls /mnt/c
ls: cannot access '/mnt/c': Input/output error
$ timeout 5 cmd.exe /c echo ok
timeout: failed to run command 'cmd.exe': Input/output error
$ cat /proc/sys/fs/binfmt_misc/WSLInterop
enabled
mount still listed the 9p mounts, and dmesg had nothing about 9p after boot. On 2026-10-16 the failure started between 34 and 46 minutes after WSL started; on 2026-10-28 the start time is not known.
The workload matches the pattern described here: several concurrent long-running CLI sessions and test runners that run commands under timeout and kill child processes, touching files under /mnt/c.
No ETW trace was running, and the remount workaround was not tried: both times the mounts came back only after WSL restarted (with a PC restart on 2026-10-16, with a WSL restart on 2026-10-28). On the next occurrence we will try umount -l /mnt/c && mount -t drvfs C: /mnt/c and report whether it works on this build.
Follow-up to my Docker Desktop report above (vp9fs.dll 10.0.26100.9278). I now have a repro that triggered the failure on demand in 4 of 6 runs, and the remount workaround recovered every time on Docker Desktop's share.
Repro (no Claude Code or IDE needed)
The loop parallel-stats a large tree, SIGKILLs it 0.1-0.9 s in while requests are in flight, then probes the mount. That produces a metadata burst followed by Tflush, as described in the issue.
TARGET=/some/big/tree/on/the/drvfs/mount # I used a ~9,600-file tree on C:\
for i in $(seq 1 400); do
timeout -s KILL "0.$((RANDOM % 9 + 1))" sh -c \
"find '$TARGET' -type f -print0 | xargs -0 -P16 -n50 stat >/dev/null 2>&1" 2>/dev/null
ls "$TARGET" >/dev/null 2>&1 || { echo "FAILED at round $i"; exit 1; }
done
Results:
| Where it ran | Mount | Runs | Failures |
|---|---|---|---|
Docker Desktop devcontainer, C:\work bind-mounted at /work |
Docker's /mnt/host/c share |
6 | 4, at rounds 101, 116, 170 and 237. The other two passed 400 rounds. |
| Ubuntu distro | its own /mnt/c (drvfs) |
4 (1 x 300 rounds, 3 x 400) | 0 |
When the container run failed, ls returned Input/output error, and so did every bind mount in that container (/work, the workspace, ~/.claude). /mnt/host/c inside the docker-desktop distro was dead too. Ubuntu's /mnt/c stayed healthy, and so did a second container whose binds come from the Ubuntu distro. So the failure is per connection, as reported above.
Caveats: the Ubuntu runs are much slower (7-14 minutes per 400 rounds, against about 3.5 minutes in the container), so they may simply produce a gentler burst, and I can't say Ubuntu's mount is immune. Failures hit at random rounds, so this is a probabilistic repro, not a deterministic one. I also haven't varied the worker count or kill window.
Setup: Windows 11 25H2, vp9fs.dll 10.0.26100.9278, WSL 3.0.3.0, kernel 6.18.54.1-1, Docker Desktop 4.95.0 (WSL 2 backend). The container is a Debian devcontainer using coreutils find, xargs and stat.
Workaround for Docker Desktop
The umount -l / mount -t drvfs workaround works on the docker-desktop distro's share:
wsl -d docker-desktop -- sh -c 'umount -l /mnt/host/c && mount -t drvfs C: /mnt/host/c -o metadata'
/mnt/host/c listed normally straight away. Containers that were already running kept the old dead connection (their binds still returned EIO), but docker restart <container> re-bound them to the new mount. This worked in all 4 failures above, with no wsl --shutdown or Docker Desktop restart, and unrelated containers kept running. The remounted share then failed again in the later runs (3 of the 4 failures happened on a remounted share), so the remount recovers the share but doesn't make it less likely to fail.
This also answers eurrag's question above about whether the remount works on newer builds. It does on 9278, though that's a different Windows build from theirs.
Another data point, on a newer build than the ones reported so far.
Environment
- Windows 10.0.26100.9711 (KB5127647, installed 2026-10-28);
vp9fs.dll10.0.26100.9711 - WSL 3.0.1.0, kernel 6.18.40.1-microsoft-standard-WSL2, Ubuntu, systemd on
- DrvFs automounts
C:andD:over 9p (trans=fd,cache=0x5,msize=65536); no.wslconfig - The distro's VHDX is on an external USB disk (
D:)
What happens
Five outages between 2026-11-02 and 2026-11-05. Each time only the /mnt/c connection died:
- every access under
/mnt/creturned EIO; /mnt/d, a separate connection to the samedllhost.exe(vp9fs.dllloaded, no restart), kept working;- so did the Linux root filesystem on the USB disk;
- nothing appeared in
dmesg/journalctl -k(no 9p, block, SCSI, OOM or hung-task messages) or in the Windows System, Hyper-V, Defender or USB/PnP event logs at any onset; - it never recovered on its own;
umount -l /mnt/c && mount -t drvfs 'C:\' /mnt/c …fixed it at once.
That is the signature in this issue: the client hits an unknown tag in p9_read_work(), cancels everything
with EIO and stays Disconnected.
Workload: matches the SIGKILL-during-walk repro above
A terminal status line runs git status --porcelain on a ~1,500-file repo on /mnt/c. That takes 11–14 s
over 9p, and the host program cancels the script whenever a newer update arrives (every few seconds while
it is busy), so parallel lstat walks over 9p are killed mid-flight constantly. The onsets fall inside
those cancel windows. Moving the USB disk, memory reclaim (drop_caches only follows the onsets) and the
kernel (unchanged since 2026-10-01) are ruled out.
Before/after the Windows update
vp9fs.dll10.0.26100.9278, 2026-09-11 to 2026-10-27: about 7,000 such cancelled status-line runs, no outage.- 10.0.26100.9711, 2026-10-28 to 2026-11-05: about 5,050, five outages.
If the per-cancel risk were unchanged, all five landing after the update would have about a 1.3 % chance, so .9711 looks more prone to the race than .9278. (The counts are status-line runs, standing in for kill events.)
Workarounds in use: stop the status line from walking 9p mounts, and a watchdog that remounts /mnt/c
on EIO. virtiofs=true would take vp9fs.dll out of the path, but it is still experimental.
Update: WSL 3.0.5 (kernel 6.18.58.1-1) doesn't fix this, but virtiofs=true avoids it.
Same repro as my earlier comment (16-way stat burst SIGKILLed 0.1-0.9 s in, 400 rounds), run in a Docker Desktop container against a C:\ bind mount. vp9fs.dll is 10.0.26100.9278.
.wslconfig |
Mount type | Runs | Failures |
|---|---|---|---|
| default | 9p | 1 | 1 (round 189, EIO, /mnt/host/c dead) |
[wsl2] virtiofs=true |
virtiofs | 3 | 0 |
With virtiofs, both Docker Desktop's /mnt/host/c and container binds switch to virtiofs, so vp9fs.dll isn't involved at all. The cost:
- Parallel metadata is slower. 16-way
statover ~9.6K files: 28 s on virtiofs against 10 s on 9p, and virtiofs doesn't scale with threads.- On a ~3.2K-file repo,
rgtook 9.5 s against 5.4 s, andrg --files3.2 s against 0.5 s. - Sequential I/O is about 2x faster.
- On a ~3.2K-file repo,
So it's a usable workaround, at the cost of slower parallel tree walks, until vp9fs is fixed.
Another data point, on the newest inbox DLL reported so far.
- Windows 11 25H2, build 26200.9974;
C:\Windows\System32\vp9fs.dll10.0.26100.9974 (file date 2026-11-11, KB5132061) - WSL 3.0.5.0, kernel 6.18.58.1-1, Ubuntu, systemd on, mirrored networking
- Six outages between 30 Oct and 16 Nov: every path under
/mnt/creturnedInput/output errorpermanently,/mnt/ekept working, nothing indmesgor the Windows logs. The only trace isOperation canceled @p9io.cpp:258 (AcceptAsync)at the eventualwsl --shutdown. - Workload matches the report: several AI coding agents in parallel doing grep/stat walks over a ~2,000-file repo on C: and running test suites under
timeout, so processes with in-flight 9p requests get killed constantly. Every onset fell inside such a run; a quiet weekend on the same build produced none. - Updating the WSL package from 2.7.14 to 3.0.5 on 13 Nov made no difference (next drop 16 Nov 13:34 local), consistent with the server being the inbox DLL.
- Switching to
[wsl2] virtiofs=truenow; will report back.