Re: PATCH: straighten out the IDE layer locking and add hotplug

From: Alan Cox
Date: Tue Aug 17 2004 - 10:54:56 EST


On Tue, Aug 17, 2004 at 05:05:43PM +0200, Bartlomiej Zolnierkiewicz wrote:
> > You can't unload them in 2.4.
> Really? That would simplify a lot of considerations...

I wanted to make that work but it proved too interesting in handing the
drive back to legacy

> > We can do it the 2.4-ac way - that works with the locking I think. What
> if you are talking about abusing HDIO_SCAN_HWIF then HELL NO

No I'm talking about the 2.4-ac way - using the bus state stuff which is
currently useless.

> > might be nicer if it works out is to follow the shutdown/suspend code
> > approach so that we actually queue the "unplug" into the command stream.
>
> and we are back to lack of sysfs integration

Not really. We don't need sysfs to queue a series of command phases and then
drop the drive.

Alan

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