)]}'
{
  "commit": "ecefe8a97577d6c1a68d14ab6fb19bce99448af2",
  "tree": "966860cc4ac9069b98f1b441f3d8b12675b9087a",
  "parents": [
    "5d90027fb579eee41ec1b61f23195ed2fdd51da2"
  ],
  "author": {
    "name": "Mike Christie",
    "email": "michaelc@cs.wisc.edu",
    "time": "Fri Jul 11 19:50:35 2008 -0500"
  },
  "committer": {
    "name": "James Bottomley",
    "email": "James.Bottomley@HansenPartnership.com",
    "time": "Sat Jul 26 15:14:50 2008 -0400"
  },
  "message": "[SCSI] fix shared tag map tag allocation\n\nWhen drivers use a shared tag map we can end up with more requests\nthan tags, because the tag map is shost-\u003ecan_queue tags and there\ncan be sdevs * sdev-\u003equeue_depth requests. In scsi_request_fn\nif tag allocation fails we just drop down to just dequeueing the\ntag without a tag. The problem is that drivers using the shared tag\nmap rely on a valid tag always being set, because it will use the\ntag number to lookup commands later.\n\nThis patch has us check if we got a valid tag when the host lock\nis held right before we check if the host queue is ready. We do the\ncheck here because to allocate the tag we need the q lock, but\nif the tag is bad we want to add the device/q onto the starved list\nwhich requires the host lock.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "88d1b5f44e59f2847bfca483a035b686e57de051",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi_lib.c",
      "new_id": "fe77ccacf31934df747827c138056e1f68c11611",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi_lib.c"
    }
  ]
}
