)]}'
{
  "commit": "0ea961c0d2ba446b99852a8f32719c0dfab23b2e",
  "tree": "fe95facb465d0cac76c4d99db8b31bdc0eef88e4",
  "parents": [
    "107eb062d8ebbc9a659c67e8fdfe762d1a968edb"
  ],
  "author": {
    "name": "Jan Schär",
    "email": "jan@jschaer.ch",
    "time": "Thu Apr 11 13:41:40 2024 +0200"
  },
  "committer": {
    "name": "Jan Schär",
    "email": "jan@jschaer.ch",
    "time": "Thu Apr 11 14:53:19 2024 +0000"
  },
  "message": "m/p/blockdev: fix discard\n\nFix various problems with discard. Because discard errors are ignored in \nosimage, these problems were not noticed.\n\nDiscard takes byte offsets, not block offsets, and multiple places were \nmissing the multiplication with BlockSize.\n\nThe BLKDISCARD and BLKZEROOUT ioctls take start and length, not start \nand end.\n\nunix.Fallocate already converts errno 0 to nil.\n\nI manually tested that discard now works correctly in the installer.\n\nChange-Id: I52d9e30a087bb6a792396baaefb2d7d09c43abfe\nReviewed-on: https://review.monogon.dev/c/monogon/+/2953\nTested-by: Jenkins CI\nReviewed-by: Lorenz Brun \u003clorenz@monogon.tech\u003e\nVouch-Run-CI: Lorenz Brun \u003clorenz@monogon.tech\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a09f5d10f3d137eeab774688c4fe957b2e11122c",
      "old_mode": 33188,
      "old_path": "metropolis/node/build/mkimage/osimage/osimage.go",
      "new_id": "d0ccaef28be44f04f5d8c0d3a0734b3dbf065f9e",
      "new_mode": 33188,
      "new_path": "metropolis/node/build/mkimage/osimage/osimage.go"
    },
    {
      "type": "modify",
      "old_id": "c7b28756cf45878ab24b1ac11aa64342acf34938",
      "old_mode": 33188,
      "old_path": "metropolis/pkg/blockdev/blockdev.go",
      "new_id": "0e3c6e104e5e4951d6cd3b73a396e491ebc88dc2",
      "new_mode": 33188,
      "new_path": "metropolis/pkg/blockdev/blockdev.go"
    },
    {
      "type": "modify",
      "old_id": "b40e5cd2f711531467445306910f83271f42d14d",
      "old_mode": 33188,
      "old_path": "metropolis/pkg/blockdev/blockdev_linux.go",
      "new_id": "6d87c87b55138c846ba81f3c5847dc2cd2e50d85",
      "new_mode": 33188,
      "new_path": "metropolis/pkg/blockdev/blockdev_linux.go"
    }
  ]
}
