From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helge Hafting Subject: Re: Generic Disk Driver in Linux Date: Fri, 25 Aug 2006 12:21:10 +0200 Message-ID: <44EECF16.6060602@aitel.hist.no> References: <20060824181935.90856.qmail@web83102.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060824181935.90856.qmail@web83102.mail.mud.yahoo.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Aleksey Gorelov Cc: jengelh@linux01.gwdg.de, daniel.rodrick@gmail.com, linux-kernel@vger.kernel.org, kernelnewbies@nl.linux.org, linux-newbie@vget.kernel.org, satinder.jeet@gmail.com Aleksey Gorelov wrote: >> From: linux-kernel-owner@vger.kernel.org >> [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Jan Engelhardt >> >>> I was curious that can we develop a generic disk driver that could >>> handle all the kinds of hard drives - IDE, SCSI, RAID et al? >>> >> ide_generic >> sd_mod >> >> All there, what more do you want? >> > > Unfortunately, not _all_. DMRAID does not support all fake raids yet. Moreover, there is usually > some gap for bleeding edge hw support. > Nobody will want to use bleeding edge hardware with an int13 driver, because the performance will necessarily be much worse than using more moderate hardware with the generic IDE driver. Int13 for new hardware makes no sense to me. The same goes for fake raids - linux will usually be able to see the disks as single disks, and you can then use them as such with a plain software raid on top. The fakeraid functionality is not needed, it has no performance edge precicely because it is fake. If fakeraid support is necessary to read some existing filesystem, then implement support in md or dmraid or even as a userspace filesystem. Either choice will perform better, and also be easier to do than making a working and stable int13 driver. Helge Hafting