Thread (30 messages) 30 messages, 4 authors, 2012-11-02

Re: [PATCH v8 05/11] libata-eh: allow defer in ata_exec_internal

From: Aaron Lu <hidden>
Date: 2012-10-30 03:09:21
Also in: linux-acpi, linux-ide, linux-scsi

On 10/30/2012 11:01 AM, Tejun Heo wrote:
Hello,

On Tue, Oct 30, 2012 at 11:00:16AM +0800, Aaron Lu wrote:
quoted
quoted
Why not do the discovery from EH?
Do you mean set a device level EH flag and then schedule EH to do the
discovery?
Yeah, something like that or why can't it be done while probing the
device in the first place?
I'm not aware of a place to store such ODD specific information when
probing the device.

I'm currently storing the loading mech type in structure zpodd, which
gets created after the corresponding SCSI device gets created in
ata_scsi_scan_host, so at the probe time, the zpodd structure does not
exist yet. And the reason I create the zpodd sturcture this late is
that, it is only created when the ODD together the platform is ZPODD
capable, and to find out if this platform is ZPODD capbale, ACPI binding
has to occur first, and ACPI binding happens when SCSI device is added
to the device tree.

Thanks,
Aaron
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help