lkml.org 
[lkml]   [2005]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Telling Linux that a SATA device has gone away
From
Date
> Is there any hope of 2.6 gaining IDE hotswap? Given how easy it is to
> capture removal events with ACPI, it would be nice to be able to do
> something useful with it (rather than just tending to crash the machine)

For the SATA layer I see no real barriers. The core scsi code/block code
can handle it all now without the trickery 2.4-ac IDE had to do. The
scsi layer itself is happy with drive hot unplug (witness just how much
better 2.6 USB storage is than 2.4).

Handling drive removal is essetially a case of not issuing more commands
to it and cleaning up the others as they error out, something the layer
handles ok.

New drive attachment means running the entire probe state machine for
the drive and the essential commands (figure out the modes, clipping,
power management, set up modes etc). Thats more complex for PATA where
adding one drive can require reprogramming the other.

Porting the 2.4 old IDE code is probably 2-3 weeks work and I doubt
worth it long term.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-28 22:28    [W:0.039 / U:13.040 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site