From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: IDE Hotswap Date: Tue, 28 Sep 2004 22:45:57 +0100 Sender: linux-kernel-owner@vger.kernel.org Message-ID: <1096407955.14083.45.camel@localhost.localdomain> References: <8CCBDD5583C50E4196F012E79439B45C069657DB@atl-ms1.megatrends.com> <200409282338.10456.bzolnier@elka.pw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200409282338.10456.bzolnier@elka.pw.edu.pl> To: Bartlomiej Zolnierkiewicz Cc: Suresh Grandhi , "'linux-ide@vger.kernel.org'" , "'linux-kernel@vger.kernel.org'" List-Id: linux-ide@vger.kernel.org On Maw, 2004-09-28 at 22:38, Bartlomiej Zolnierkiewicz wrote: > No and such workaround won't work anyway because > re-register operation is nothing else but unregister+register. If you grab the 2.6.8.1-ac patch you can do IDE controller hotplugging and a few other things but not yet drive hotplugging. 2.4 can do drive hotplug although you need a small -ac patch if you see wrong disk geometry data. For new controllers (ie SATA ones) use Jeff Garzik's serial ATA layer as that is a lot cleaner and the SCSI layer already has a good basic understanding of hotplug management. > Any help/support is appreciated. Except for the dynamic stuff I consider the problem solved. Its up to you when and what you merge and I understand why you want to get stuff like sysfs there. For drive level hotplug its actually a lot easier and I guess that is the case most users care about. The changes done for 2.6 clean up stuff like suspend mean the nasties in 2.4 for sequencing have gone away. No refcounting needed since the block and fs layer are doing it all for you. TTY layer, revoke(), and some other current critical bonfires first before I can help with that however. Alan