From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Matthew Garrett <mgarrett@chiark.greenend.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Telling Linux that a SATA device has gone away
Date: Sun, 28 Aug 2005 21:51:42 +0100 [thread overview]
Message-ID: <1125262302.11018.3.camel@localhost.localdomain> (raw)
In-Reply-To: <E1E9TET-0003Hc-00@chiark.greenend.org.uk>
> 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.
prev parent reply other threads:[~2005-08-28 20:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-26 14:42 Matthew Garrett
2005-08-26 15:42 ` Alan Cox
2005-08-28 19:54 ` Matthew Garrett
2005-08-28 20:51 ` Alan Cox [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1125262302.11018.3.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mgarrett@chiark.greenend.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome