)]}'
{
  "commit": "a9bddd74630b2a1f2dedc537417c372b2d9edc76",
  "tree": "d086a3d0770536bc0910ea9ad9eb4a35be273848",
  "parents": [
    "a2f5bfcf711aa72ad5587b533a1909334c2533a4"
  ],
  "author": {
    "name": "James Bottomley",
    "email": "James.Bottomley@HansenPartnership.com",
    "time": "Mon Mar 30 16:55:51 2009 +0000"
  },
  "committer": {
    "name": "James Bottomley",
    "email": "James.Bottomley@HansenPartnership.com",
    "time": "Fri Apr 03 09:22:55 2009 -0500"
  },
  "message": "[SCSI] fix recovered error handling\n\nWe have a problem with recovered error handling in that any command\nwhich goes down as BLOCK_PC but which returns a sense code of RECOVERED\nERROR gets completed with -EIO.  For actual SG_IO commands, this doesn\u0027t\nmatter at all, since the error return code gets dropped in favour of\nreq-\u003eerrors which contain the SCSI completion code.\n\nHowever, if this command is part of the block system, then it will pay\nattention to the returned error code.  In particularly if a SYNCHRONIZE\nCACHE from a barrier command completes with RECOVERED ERROR, the\nresulting -EIO on the barrier causes block to error the request and\nreturn it to the filesystem.  Fix this by converting the -EIO for\nrecovered error to zero, plus remove the printing of this from sd and sr\nso the message isn\u0027t double printed.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4b13e36d3aa0b000b3c2bd5aa6d92a0c0b1554be",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi_lib.c",
      "new_id": "d1cb64ad1a3f373092d954804fa41cca636ccfcd",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi_lib.c"
    },
    {
      "type": "modify",
      "old_id": "aeab5d9dff27bd316a82d45eb55bf1010d510158",
      "old_mode": 33188,
      "old_path": "drivers/scsi/sd.c",
      "new_id": "3fcb64b91c43d799bca344c9029566d41e0c121b",
      "new_mode": 33188,
      "new_path": "drivers/scsi/sd.c"
    },
    {
      "type": "modify",
      "old_id": "e7fa3caead79051f423b0790168769b01ecd4a95",
      "old_mode": 33188,
      "old_path": "drivers/scsi/sr.c",
      "new_id": "0e1a0f2d2ad55543f39f0f9f56b6bea2645e5990",
      "new_mode": 33188,
      "new_path": "drivers/scsi/sr.c"
    }
  ]
}
