Skip to content

fix(env): set up netns persist dir once per process - #220

Merged
BobAnkh merged 2 commits into
mainfrom
split/4-netns-fix
Nov 2, 2026
Merged

BobAnkh merged 2 commits into
mainfrom
split/4-netns-fix

Conversation

@Lethe10137

@Lethe10137 Lethe10137 commented Oct 21, 2026 •

Copy link
Copy Markdown
Member
  • rattan-env/src/netns.rs: set up the netns persist directory only once per process, serialized across processes with a file lock (/var/run/rattan-netns.lock).
  • scripts/clean_stdenv.sh: unstack existing /var/run/netns mounts.

Stack (merge in order, rebase-merge; review the diff against the base branch). This is 4/5:

  1. feat(loss): byte trigger for loss cells #217 feat(loss): byte trigger for loss cells
  2. feat: first-payload start, ms granularity timestamp alignment, and drift log #218 feat: first-payload start, mahimahi-like delay, and drift log
  3. perf(veth): update tokio and reduce ingress overhead #219 perf(veth): update tokio and reduce veth ingress overhead
  4. 👉 fix(env): set up netns persist dir once per process #220 fix(env): set up the netns persist directory once per process
  5. refactor(env): make Env generic and move I/O drivers into rattan-env #221 refactor(env): make Env generic and move I/O drivers into rattan-env

🤖 Generated with Claude Code

@BobAnkh BobAnkh changed the title fix(env): set up the netns persist directory once per process fix(env): set up netns persist dir once per process Nov 2, 2026
@BobAnkh
BobAnkh merged commit c962497 into main Nov 2, 2026
@BobAnkh
BobAnkh deleted the split/4-netns-fix branch November 2, 2026 09:44
@BobAnkh BobAnkh mentioned this pull request Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants