diff options
Diffstat (limited to 'docs/next-daemon.md')
| -rw-r--r-- | docs/next-daemon.md | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/docs/next-daemon.md b/docs/next-daemon.md index e63f69c6..159e66e7 100644 --- a/docs/next-daemon.md +++ b/docs/next-daemon.md @@ -360,16 +360,19 @@ Everything of ours lives in `/root/pardes-test`, nothing outside it. - A kitty `t=f` naming a FIFO hung the open everywhere but Linux; a stat by path now comes first. - A Unix socket whose listen queue is full refuses a connect with - ECONNREFUSED, exactly as a socket nobody listens on does. The - registry sweep reads that refusal as a dead session, so it could - remove a live session's socket while its queue overflows. **Open:** - the unit test "the registry sweep takes the dead entries" fails on - it. + ECONNREFUSED, exactly as a socket nobody listens on does, so a sweep + that judged by connecting could remove a live session's socket while + its queue overflowed. A session's liveness is now its lock: it holds + `<socket>.lock` flocked from before it binds until after it unlinks + (9p_io.zig `claim`), the sweeps and `taken` ask that lock, and they + unlink only under it. A connect judges only a socket with no lock, one + of a pardes from before the locks. The daemon's own start was already + decided by its flock. - **The tests there.** The box runs them as root, with no zls, fish or fonts installed. - - main: 1138 passed, 36 skipped, 4 failed: the sweep above; the LSP - format retry (no zls); and two tests that make a file or directory - unreadable, which root reads anyway. + - main: 1139 passed, 36 skipped, 3 failed: the LSP format retry (no + zls), and two tests that make a file or directory unreadable, which + root reads anyway. - panes: 224 passed, 1 failed (`Shell fish`: no fish). kitty: 43 passed. The small programs all pass but fonts (no fonts). - Off Linux, the parts of tests whose refusing path is Linux's |
