)]}'
{
  "commit": "4a84067dbfce436b81779e585bf712b02ceee552",
  "tree": "f787d413a11c6564ad4440d0a245f56d0e6b73bf",
  "parents": [
    "14caf44c69184ed72d46a2f883311daf27a4192f"
  ],
  "author": {
    "name": "Vasu Dev",
    "email": "vasu.dev@intel.com",
    "time": "Thu Oct 22 15:46:33 2009 -0700"
  },
  "committer": {
    "name": "James Bottomley",
    "email": "James.Bottomley@suse.de",
    "time": "Fri Dec 04 12:00:44 2009 -0600"
  },
  "message": "[SCSI] add queue_depth ramp up code\n\nCurrent FC HBA queue_depth ramp up code depends on last queue\nfull time. The sdev already  has last_queue_full_time field to\ntrack last queue full time but stored value is truncated by\nlast four bits.\n\nSo this patch updates last_queue_full_time without truncating\nlast 4 bits to store full value and then updates its only\ncurrent usages in scsi_track_queue_full to ignore last four bits\nto keep current usages same while also use this field\nin added ramp up code.\n\nAdds scsi_handle_queue_ramp_up to ramp up queue_depth on\nsuccessful completion of IO. The scsi_handle_queue_ramp_up will\ndo ramp up on all luns of a target, just same as ramp down done\non all luns on a target.\n\nThe ramp up is skipped in case the change_queue_depth is not\nsupported by LLD or already reached to added max_queue_depth.\n\nUpdates added max_queue_depth on every new update to default\nqueue_depth value.\n\nThe ramp up is also skipped if lapsed time since either last\nqueue ramp up or down is less than LLD specified\nqueue_ramp_up_period.\n\nAdds queue_ramp_up_period to sysfs but only if change_queue_depth\nis supported since ramp up and queue_ramp_up_period is needed only\nin case change_queue_depth is supported first.\n\nInitializes queue_ramp_up_period to 120HZ jiffies as initial\ndefault value, it is same as used in existing lpfc and qla2xxx.\n\n-v2\n Combined all ramp code into this single patch.\n\n-v3\n Moves max_queue_depth initialization after slave_configure is\ncalled from after slave_alloc calling done. Also adjusted\nmax_queue_depth check to skip ramp up if current queue_depth\nis \u003e\u003d max_queue_depth.\n\n-v4\n Changes sdev-\u003equeue_ramp_up_period unit to ms when using sysfs i/f\nto store or show its value.\n\nSigned-off-by: Vasu Dev \u003cvasu.dev@intel.com\u003e\nTested-by: Christof Schmitt \u003cchristof.schmitt@de.ibm.com\u003e\nTested-by: Giridhar Malavali \u003cgiridhar.malavali@qlogic.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dd098cad337bf19c1295943f263567ad857bf1c4",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi.c",
      "new_id": "a60da55555778822a3d96a5571646c865775f9ea",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi.c"
    },
    {
      "type": "modify",
      "old_id": "7b1e20fee906983298d5aef2c064f17b7da7e12c",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi_error.c",
      "new_id": "08ed506e6059db96cd09c02588ea306800a54cb0",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi_error.c"
    },
    {
      "type": "modify",
      "old_id": "0547a7f44d4277768f6c4fc4b407fedd72df39d0",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi_scan.c",
      "new_id": "50526fa207e5c6d35d542f8ff1156bdc95c92098",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi_scan.c"
    },
    {
      "type": "modify",
      "old_id": "a48782866b22575851e3442b5228390ceb8f6e25",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi_sysfs.c",
      "new_id": "758598ff3b9002afbf98b112cb03a2614a31237a",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi_sysfs.c"
    },
    {
      "type": "modify",
      "old_id": "9af48cbf0036782386e6cfdf403476b8b159d563",
      "old_mode": 33188,
      "old_path": "include/scsi/scsi_device.h",
      "new_id": "92c4c3bd916d49ffb4f26e3ab1f4787f9c094732",
      "new_mode": 33188,
      "new_path": "include/scsi/scsi_device.h"
    }
  ]
}
