)]}'
{
  "commit": "45bc955bb1324a46c9539550cc615994e6d0a43d",
  "tree": "93c7349e666c5f13fec8dde04b5c8ac2c9e1a251",
  "parents": [
    "edaba2c5334492f82d39ec35637c6dea5176a977"
  ],
  "author": {
    "name": "James Bottomley",
    "email": "James.Bottomley@HansenPartnership.com",
    "time": "Fri Jun 05 10:41:39 2009 -0400"
  },
  "committer": {
    "name": "Jeff Garzik",
    "email": "jgarzik@redhat.com",
    "time": "Fri Jun 05 14:40:46 2009 -0400"
  },
  "message": "pata_legacy: wait for async probing\n\nThe basic problem here that pata_legacy attaches the host, sees if it found\nany devices and detaches it if none were found.  With async probing, it\u0027s not\nwaiting until discovery is finished before deciding it has no devices and\ntrying the detach leading to this warning:\n\nata1: PATA max PIO4 cmd 0x1f0 ctl 0x3f6 irq 14\n------------[ cut here ]------------\nWARNING: at drivers/ata/libata-core.c:6222 ata_host_detach+0x75/0x90()\nModules linked in:\nPid: 1, comm: swapper Not tainted 2.6.30-rc7 #1\nCall Trace:\n [\u003cc01fbb05\u003e] ? ata_host_detach+0x75/0x90\n [\u003cc01fbb05\u003e] ? ata_host_detach+0x75/0x90\n [\u003cc01139b5\u003e] ? warn_slowpath_common+0x45/0x80\n [\u003cc01139fa\u003e] ? warn_slowpath_null+0xa/0x10\n [\u003cc01fbb05\u003e] ? ata_host_detach+0x75/0x90\n [\u003cc02f40e0\u003e] ? legacy_init+0x44e/0x87f\n [\u003cc02f3c92\u003e] ? legacy_init+0x0/0x87f\n [\u003cc0101021\u003e] ? _stext+0x21/0x140\n [\u003cc01890ff\u003e] ? proc_register+0x2f/0x190\n [\u003cc018938c\u003e] ? create_proc_entry+0x5c/0xc0\n [\u003cc0135ebe\u003e] ? register_irq_proc+0x6e/0x90\n [\u003cc02e6484\u003e] ? kernel_init+0x6e/0xbf\n [\u003cc02e6416\u003e] ? kernel_init+0x0/0xbf\n [\u003cc01031d7\u003e] ? kernel_thread_helper+0x7/0x10\n---[ end trace ef1ee36e873ae3a0 ]---\n\nBecause it detaches before the probe is complete.\n\nOne way to fix it would be to put an async_synchronize_full() before looking\nfor devices, which this patch does.  A better way might be to separate libata\ninto its own domain and only wait for that.\n\nReported-by: Mikael Pettersson \u003cmikpe@it.uu.se\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\nSigned-off-by: Jeff Garzik \u003cjgarzik@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f72c6c5b820f9dbcad9f69f0e08211f98604797d",
      "old_mode": 33188,
      "old_path": "drivers/ata/pata_legacy.c",
      "new_id": "6932e56d179c8200a86905dbb6040916fc71c7b6",
      "new_mode": 33188,
      "new_path": "drivers/ata/pata_legacy.c"
    }
  ]
}
