{
  "id": 10188402,
  "title": "containerd 2.2's mount manager panics on a one-mount mkfs chain",
  "url": "https://urgent.news/2026/09/27/containerd-2-2s-mount-manager-panics-on-a-one-mount-mkfs-chain",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-27T10:00:00.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/alexgeorgiev17/containerd-22s-mount-manager-panics-on-a-one-mount-mkfs-chain-545n"
  },
  "original_language": "en",
  "account": "containerd 2.2 introduced a mount manager service capable of formatting a file as ext4 or xfs, attaching it as a loopback device, and handing the result to a runtime - all within a single Activate call. To determine if this single call was faster than the traditional sequence of truncate, mkfs, losetup, and mount commands, a Go program was created and executed multiple times on the same machine. The results showed that the manual sequence was faster, taking 24.4 to 25.9 milliseconds compared to the mount manager's Activate call, which took 29.6 to 47.2 milliseconds. The manager panicked once, leaked a raw BoltDB error, and left an unmanageable loop device behind. The mount manager is designed for composability across snapshotters and runtimes, not for raw speed. When a new API bundles multiple steps into one, it's crucial to benchmark it against the shortest correct version of those steps, rather than the more familiar but longer version.",
  "summary": "containerd 2.2 shipped a mount manager: a service that can format a file as ext4 or xfs, attach it as a loopback device, and hand the result to a runtime, all from a single Activate call instead of the usual truncate , mkfs , losetup , mount sequence. I wanted to know whether that call is actually faster than doing it by hand, so I wrote a small Go program against the manager's package directly…",
  "key_points": [
    "Containerd 2.2 mount manager service introduced",
    "Manual sequence faster than mount manager's Activate call",
    "Mount manager panics, leaks resources"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}