diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 18:36:10 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | a15c05b3d15bc269b3aec195c5e813a0f0203d4f (patch) | |
| tree | 3fcb90ee15c5ff4eccc0ce7757ebef2fdfda27fb /src/9p.zig | |
| parent | 0fd908eea63d04886b269438aa7529d3dd422256 (diff) | |
| download | pardes-a15c05b3d15bc269b3aec195c5e813a0f0203d4f.tar.gz pardes-a15c05b3d15bc269b3aec195c5e813a0f0203d4f.zip | |
The 9P server offers 64 KiB frames, not 8 KiB
8192 was kept for round 24 because 64 KiB seemed to hang fs-test's restore detached space; that was the batch-wake overflow fixed in kmqtwqsm, which any msize could hit, and fs.py passes at 64 KiB with it. A client asking for more now gets it, so a write up to 64 KiB less 24 is one Twrite, and round 24's no-newline cutoff (write_room, the negotiated msize less 24) follows: fs.py checks a 20000-byte ctl line from a 64 KiB client is taken whole. Each of the 16 connection slots holds its buffers at the larger size.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/9p.zig')
| -rw-r--r-- | src/9p.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ pub const msize_min = cloud9.fs.msize_min; /// The smallest msize a native listener offers (src/9p_io.zig). pub const min_msize: u32 = 4096; /// What a native listener negotiates. -pub const msize: u32 = 8192; +pub const msize: u32 = 65536; /// The editor's engine: native fid count, native file names, and room to /// park a write of any size a frame can carry -- a request that would change |
