)]}'
{
  "commit": "d50d82221934696633296975aa433fe8aeeac714",
  "tree": "b7bea93497393bbaf3b2acdc7203938fe1c3b282",
  "parents": [
    "b953f075007a7860adce9fa410b2e116a3d5e29c"
  ],
  "author": {
    "name": "Denis V. Lunev",
    "email": "den@openvz.org",
    "time": "Fri Jan 30 11:42:15 2015 +0300"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Fri Feb 06 17:24:20 2015 +0100"
  },
  "message": "block/raw-posix: call plain fallocate in handle_aiocb_write_zeroes\n\nThere is a possibility that we are extending our image and thus writing\nzeroes beyond the end of the file. In this case we do not need to care\nabout the hole to make sure that there is no data in the file under\nthis offset (pre-condition to fallocate(0) to work). We could simply call\nfallocate(0).\n\nThis improves the performance of writing zeroes even on really old\nplatforms which do not have even FALLOC_FL_PUNCH_HOLE.\n\nBefore the patch do_fallocate was used when either\nCONFIG_FALLOCATE_PUNCH_HOLE or CONFIG_FALLOCATE_ZERO_RANGE are defined.\nNow the story is different. CONFIG_FALLOCATE is defined when Linux\nfallocate is defined, posix_fallocate is completely different story\n(CONFIG_POSIX_FALLOCATE). CONFIG_FALLOCATE is mandatory prerequite\nfor both CONFIG_FALLOCATE_PUNCH_HOLE and CONFIG_FALLOCATE_ZERO_RANGE\nthus we are on the safe side.\n\nCC: Max Reitz \u003cmreitz@redhat.com\u003e\nCC: Kevin Wolf \u003ckwolf@redhat.com\u003e\nCC: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nCC: Peter Lieven \u003cpl@kamp.de\u003e\nCC: Fam Zheng \u003cfamz@redhat.com\u003e\nSigned-off-by: Denis V. Lunev \u003cden@openvz.org\u003e\nReviewed-by: Max Reitz \u003cmreitz@redhat.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5a777e7137e92eb6c20436def13b20b949604c07",
      "old_mode": 33188,
      "old_path": "block/raw-posix.c",
      "new_id": "1c88ad89d828778b73d4835647d4f9b036c7f22a",
      "new_mode": 33188,
      "new_path": "block/raw-posix.c"
    }
  ]
}
