)]}'
{
  "commit": "c7c4e7ff8047e43c45628b85ac200582e9404c39",
  "tree": "597202700b1feadb06339fbabdb0e84fbdf1876c",
  "parents": [
    "3780d1f08856f692116bcf026e4acf1c521df1c7"
  ],
  "author": {
    "name": "Bart Van Assche",
    "email": "bvanassche@acm.org",
    "time": "Thu Feb 21 17:19:04 2013 +0000"
  },
  "committer": {
    "name": "Roland Dreier",
    "email": "roland@purestorage.com",
    "time": "Mon Feb 25 09:31:14 2013 -0800"
  },
  "message": "IB/srp: Avoid endless SCSI error handling loop\n\nIf a SCSI command times out it is passed to the SCSI error\nhandler. The SCSI error handler will try to abort the commands that\ntimed out.  If aborting fails, a device reset will be attempted.  If\nthe device reset also fails a host reset will be attempted.  If the\nhost reset also fails the whole procedure will be repeated.\n\nsrp_abort() and srp_reset_device() fail for a QP in the error state.\nsrp_reset_host() fails after host removal has started.  Hence if the\nSCSI error handler gets invoked after host removal has started and\nwith the QP in the error state an endless loop will be triggered.\n\nModify the SCSI error handling functions in ib_srp as follows:\n- Abort SCSI commands properly even if the QP is in the error state.\n- Make srp_reset_host() reset SCSI requests even after host removal\n  has already started or if reconnecting fails.\n\nSigned-off-by: Bart Van Assche \u003cbvanassche@acm.org\u003e\nAcked-by: David Dillow \u003cdave@thedillows.org\u003e\nCc: \u003cstable@vger.kernel.org\u003e # 3.8\nSigned-off-by: Roland Dreier \u003croland@purestorage.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "263325848462f5beee8d81f1a794a6a853d7a45d",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/ulp/srp/ib_srp.c",
      "new_id": "8a7eb9f98a0c89501d4342d1cd15f3d0d00599a1",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/ulp/srp/ib_srp.c"
    }
  ]
}
