Re: libata & scsi rescan.
From: Jeff Garzik <hidden>
Date: 2004-10-07 01:07:36
Andy Warner wrote:
Jeff Garzik wrote:quoted
[libata & hot-unplug...] Documentation/scsi/scsi_mid_low_api.txt for 2.6.x. "good luck" for 2.4.x, and libata needs to work on 2.4.x as well (at least for the time being)I've got phy-level hooks into interrupt handlers, all working nicely. I can't find any good examples of scsi_add/remove_device usage, and they do not like being called from an interrupt context. Can anyone lend some advice/examples of usage ? I've searched for guidelines on when/how to call these, above and beyond scsi_mid_low_api.txt, and come up empty handed. If they need to be called from a helper-thread, I can do that - just looking for ground rules.
Correct, they must be called from process context. Jeff