)]}'
{
  "commit": "b3af018f3babfe7a0328759a86c00a6a6b4f6443",
  "tree": "6dcc6aaa9827c8b2eeb8c54d6d96736d509bcc8a",
  "parents": [
    "c31d482f29ffe4ba54065acfb2f31c3f4ce586b7"
  ],
  "author": {
    "name": "Liu Yuan",
    "email": "namei.unix@gmail.com",
    "time": "Thu Nov 07 22:56:38 2013 +0800"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Fri Nov 29 13:40:37 2013 +0100"
  },
  "message": "sheepdog: support user-defined redundancy option\n\nSheepdog support two kinds of redundancy, full replication and erasure coding.\n\n# create a fully replicated vdi with x copies\n -o redundancy\u003dx (1 \u003c\u003d x \u003c\u003d SD_MAX_COPIES)\n\n# create a erasure coded vdi with x data strips and y parity strips\n -o redundancy\u003dx:y (x must be one of {2,4,8,16} and 1 \u003c\u003d y \u003c SD_EC_MAX_STRIP)\n\nE.g, to convert a vdi into sheepdog vdi \u0027test\u0027 with 8:3 erasure coding scheme\n\n$ qemu-img convert -o redundancy\u003d8:3 linux-0.2.img sheepdog:test\n\nCc: Kevin Wolf \u003ckwolf@redhat.com\u003e\nCc: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nSigned-off-by: Liu Yuan \u003cnamei.unix@gmail.com\u003e\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ae436754f8a15376d1790877df6dc3baf21ae9a5",
      "old_mode": 33188,
      "old_path": "block/sheepdog.c",
      "new_id": "b4ae50f44ddf663bafe97b18d27e5566667ba988",
      "new_mode": 33188,
      "new_path": "block/sheepdog.c"
    },
    {
      "type": "modify",
      "old_id": "3c5e9cbfc0d18eefcc1d9d2132a91965bc2d1aea",
      "old_mode": 33188,
      "old_path": "include/block/block_int.h",
      "new_id": "d0f70c4596ac54af7418d5d596c147766736e428",
      "new_mode": 33188,
      "new_path": "include/block/block_int.h"
    }
  ]
}
