Re: Generic Disk Driver in Linux
From: Aleksey Gorelov
Date: Fri Aug 25 2006 - 13:02:46 EST
--- Helge Hafting <helge.hafting@xxxxxxxxxxxxx> wrote:
> Aleksey Gorelov wrote:
> >> From: linux-kernel-owner@xxxxxxxxxxxxxxx
> >> [mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] 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.
If some one wants Linux server - I totally agree. I would probably even avoid relying purely on
generic IDE and instead use chipset specific variant or libata.
But if someone wants to access already installed & working other OS stuff - that's a different
story. Bad performance is still better than no support at all.
>
> 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
>
You are right here. I only see the possibility of int13 driver as some 'backup' plan for HW that
not yet have enough support via native drivers, or if someone wants occasional access and does not
want to upgrade to latest kernels for some reason.
-
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/