Re: [PATCHSET 9/9] add hotplug support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-04-11 at 23:14 +0900, Tejun Heo wrote:

> Warm unplug/plug comes at almost no cost for LLDDs implementing new EH
> - adding a call to ata_eh_hotplug() at the end of ->error_handler is
> enough (even this is unnecessary if it's using bmdma error_handler).
> e.g. ata_piix isn't changed by hotplug patchsets at all but still
> supports warm plugging (even PATA warm plugging works although it's
> electronically unsafe).
> 
> To support full hot unplug/plug, all a LLDD has to do are enabling PHY
> status changed interrupt and, when PHY RDY status changes, call
> ata_schedule_probe() and schedule EH.  ahci, sata_sil and sata_sil24
> are converted this way and hotplugging works perfectly for those
> drivers.
> 

In order to make ata_eh_hotplug() called, LLDD have to schedule EH
in its interrupt handler(i.e. invoke scsi_eh_schedule_host() directly
or indirectly), but I didn't find such code in your patch set.
Did I miss anything?

Thanks,
Forrest
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux