)]}'
{
  "commit": "18a4d0a22ed6c54b67af7718c305cd010f09ddf8",
  "tree": "06e22a92290ff84b2c1d5abb09424493de384c4b",
  "parents": [
    "a78e21dc5e9f896ecee5b1fbe189690dfcca38e1"
  ],
  "author": {
    "name": "Martin K. Petersen",
    "email": "martin.petersen@oracle.com",
    "time": "Thu Feb 09 13:48:53 2012 -0500"
  },
  "committer": {
    "name": "James Bottomley",
    "email": "JBottomley@Parallels.com",
    "time": "Sun Feb 19 10:14:52 2012 -0600"
  },
  "message": "[SCSI] Handle disk devices which can not process medium access commands\n\nWe have experienced several devices which fail in a fashion we do not\ncurrently handle gracefully in SCSI. After a failure these devices will\nrespond to the SCSI primary command set (INQUIRY, TEST UNIT READY, etc.)\nbut any command accessing the storage medium will time out.\n\nThe following patch adds an callback that can be used by upper level\ndrivers to inspect the results of an error handling command. This in\nturn has been used to implement additional checking in the SCSI disk\ndriver.\n\nIf a medium access command fails twice but TEST UNIT READY succeeds both\ntimes in the subsequent error handling we will offline the device. The\nmaximum number of failed commands required to take a device offline can\nbe tweaked in sysfs.\n\nAlso add a new error flag to scsi_debug which allows this scenario to be\neasily reproduced.\n\n[jejb: fix up integer parsing to use kstrtouint]\nSigned-off-by: Martin K. Petersen \u003cmartin.petersen@oracle.com\u003e\nSigned-off-by: James Bottomley \u003cJBottomley@Parallels.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2aeb2e9c4d3bc708d5c12c7a117b021ffc160409",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi.c",
      "new_id": "07322ecff90dc97e3a81d2f098293b8c6eaba98b",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi.c"
    },
    {
      "type": "modify",
      "old_id": "d2fd0efca565f0adef4adcca392211a77dc10ce6",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi_debug.c",
      "new_id": "8917154d96c7b39f447077f938b358eb075afcf3",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi_debug.c"
    },
    {
      "type": "modify",
      "old_id": "f66e90db3bee39bca8cfd7870e8d9c74475fba3b",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi_error.c",
      "new_id": "2cfcbffa41fd559b075e7c75eae57e2c7f637488",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi_error.c"
    },
    {
      "type": "modify",
      "old_id": "8c525aa1b8582a40c00687238811e743bc527d55",
      "old_mode": 33188,
      "old_path": "drivers/scsi/sd.c",
      "new_id": "bd17cf8af01322d012d820e0f2b31cc3f0f73610",
      "new_mode": 33188,
      "new_path": "drivers/scsi/sd.c"
    },
    {
      "type": "modify",
      "old_id": "4163f2910e3de300ca7d2c37a2ef38fc65d59206",
      "old_mode": 33188,
      "old_path": "drivers/scsi/sd.h",
      "new_id": "f703f4827b6f290c6272c5e4b6474a73a4f66b0a",
      "new_mode": 33188,
      "new_path": "drivers/scsi/sd.h"
    },
    {
      "type": "modify",
      "old_id": "9be0128bf303a7a798b11c6042c185554259946d",
      "old_mode": 33188,
      "old_path": "include/scsi/scsi_cmnd.h",
      "new_id": "377df4a28512bd7d97aad68b9a72d1f449f2cba8",
      "new_mode": 33188,
      "new_path": "include/scsi/scsi_cmnd.h"
    },
    {
      "type": "modify",
      "old_id": "9fd6702f02e2ee540effd667c3af3e37f87e4b42",
      "old_mode": 33188,
      "old_path": "include/scsi/scsi_driver.h",
      "new_id": "d443aa06a72287e4a1ca45c70243b38628686a30",
      "new_mode": 33188,
      "new_path": "include/scsi/scsi_driver.h"
    }
  ]
}
