)]}'
{
  "commit": "3456a8d1852e970688b73d03fdc44dde851759e1",
  "tree": "b7d4123954b9938a5879339726739a31fd7d970a",
  "parents": [
    "26d49c46750aff62c8c6e7a8b14c79d4114a8e53"
  ],
  "author": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Tue Mar 11 10:58:39 2014 +0100"
  },
  "committer": {
    "name": "Stefan Hajnoczi",
    "email": "stefanha@redhat.com",
    "time": "Thu Mar 13 14:23:27 2014 +0100"
  },
  "message": "block: Update image size in bdrv_invalidate_cache()\n\nAfter migration has completed, we call bdrv_invalidate_cache() so that\ndrivers which cache some data drop their stale copy of the data and\nreread it from the image file to get a new version of data that the\nsource modified while the migration was running.\n\nReloading metadata from the image file is useless, though, if the size\nof the image file stays stale (this is a value that is cached for all\nimage formats in block.c). Reads from (meta)data after the old EOF\nreturn only zeroes, causing image corruption.\n\nWe need to update bs-\u003etotal_sectors in all layers that could potentially\nhave changed their size (i.e. backing files are not a concern - if they\nare changed, we\u0027re in bigger trouble)\n\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f1ef4b0109dbededb10b26552670d1fee60579aa",
      "old_mode": 33188,
      "old_path": "block.c",
      "new_id": "7b306fb62fc1a8a2edb363e20d2addc3bb649298",
      "new_mode": 33188,
      "new_path": "block.c"
    },
    {
      "type": "modify",
      "old_id": "cfe80befa05ffd19442313ad252a221de8e331bc",
      "old_mode": 33188,
      "old_path": "block/qcow2.c",
      "new_id": "b5b1e8c1b92f61f3ca88eda31a3721877a3bcd25",
      "new_mode": 33188,
      "new_path": "block/qcow2.c"
    },
    {
      "type": "modify",
      "old_id": "8802ad3845bcb7b5fcbc3552f552d0d7115d4735",
      "old_mode": 33188,
      "old_path": "block/qed.c",
      "new_id": "837accd39b4ab54def1e3a7f469b1f0381dd73b7",
      "new_mode": 33188,
      "new_path": "block/qed.c"
    }
  ]
}
