)]}'
{
  "commit": "f281fb5fe54e15a7ab802945e42f8e24fceb56b2",
  "tree": "51a7dd2e900b8ce4118d1357ab6e187edfc12e25",
  "parents": [
    "a850ea30374ebed32a0724742601861853fde869"
  ],
  "author": {
    "name": "Adrian Hunter",
    "email": "adrian.hunter@nokia.com",
    "time": "Sat Sep 25 12:42:55 2010 +0200"
  },
  "committer": {
    "name": "Jens Axboe",
    "email": "jaxboe@fusionio.com",
    "time": "Sat Sep 25 12:42:55 2010 +0200"
  },
  "message": "block: prevent merges of discard and write requests\n\nAdd logic to prevent two I/O requests being merged if\nonly one of them is a discard.  Ditto secure discard.\n\nWithout this fix, it is possible for write requests\nto transform into discard requests.  For example:\n\n  Submit bio 1 to discard 8 sectors from sector n\n  Submit bio 2 to write 8 sectors from sector n + 16\n  Submit bio 3 to write 8 sectors from sector n + 8\n\nBio 1 becomes request 1.  Bio 2 becomes request 2.\nBio 3 is merged with request 2, and then subsequently\nrequest 2 is merged with request 1 resulting in just\none I/O request which discards all 24 sectors.\n\nSigned-off-by: Adrian Hunter \u003cadrian.hunter@nokia.com\u003e\n\n(Moved the checks above the position checks /Jens)\n\nSigned-off-by: Jens Axboe \u003cjaxboe@fusionio.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3b0cd4249671d9826b42ea10473a11486c403368",
      "old_mode": 33188,
      "old_path": "block/blk-merge.c",
      "new_id": "eafc94f68d79f2ceb1c0a89fce8e449c3a5ff3f6",
      "new_mode": 33188,
      "new_path": "block/blk-merge.c"
    }
  ]
}
