)]}'
{
  "commit": "6f321e93abb27b4e7ceb228b4204aa304e95daad",
  "tree": "91a670fd257f3c412aeca38156112dc557491ce9",
  "parents": [
    "5fc09ca5c315b87539db882fba175a7955783530"
  ],
  "author": {
    "name": "Stefan Hajnoczi",
    "email": "stefanha@linux.vnet.ibm.com",
    "time": "Mon May 09 16:45:40 2011 +0100"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Wed May 18 14:38:46 2011 +0200"
  },
  "message": "qed: Periodically flush and clear need check bit\n\nOne strategy to limit the startup delay of consistency check when\nopening image files is to ensure that the file is marked dirty for as\nlittle time as possible.\n\nQED currently marks the image dirty when the first allocating write\nrequest is issued and clears the dirty bit again when the image is\ncleanly closed.  In practice that means the image is marked dirty for\nmost of a guest\u0027s lifetime and prone to being in a dirty state upon\ncrash or power failure.\n\nIt is safe to clear the dirty bit after all allocating write requests\nhave completed and a flush has been performed.  This patch adds a timer\nafter the last allocating write request completes.  When the timer fires\nit will flush and then clear the dirty bit.  The timer is set to 5\nseconds and is cancelled upon arrival of a new allocating write request.\n\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@linux.vnet.ibm.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c8c59304480a745f67dcd818bd27457bea2ccc6f",
      "old_mode": 33188,
      "old_path": "block/qed.c",
      "new_id": "d8d6ea2126239894d18a28c94bd861779bdcc71a",
      "new_mode": 33188,
      "new_path": "block/qed.c"
    },
    {
      "type": "modify",
      "old_id": "1d1421fee1230e3c7f0262939cd878cae779cac6",
      "old_mode": 33188,
      "old_path": "block/qed.h",
      "new_id": "388fdb3760d31d892493ea1d01f2f399340bf026",
      "new_mode": 33188,
      "new_path": "block/qed.h"
    },
    {
      "type": "modify",
      "old_id": "a00b63cefd335ba577fa270e1b307854d2ea8899",
      "old_mode": 33188,
      "old_path": "trace-events",
      "new_id": "385cb000090d24512444d86f4a213e6efd20a2c4",
      "new_mode": 33188,
      "new_path": "trace-events"
    }
  ]
}
