[illumos-Developer] Changing sd_io_time to 8?
Garrett D'Amore
garrett at damore.org
Tue May 3 08:30:50 PDT 2011
On Tue, 2011-05-03 at 17:23 +0200, Joerg Schilling wrote:
> "Garrett D'Amore" <garrett at damore.org> wrote:
>
> > > What do you believe would have been better in case that the merge had not been
> > > done?
> > >
> > > Jörg
> > >
> >
> > Two separate drivers, with separate logic, each of which would have been
> > somewhat simpler than putting all the contortions for both types of
> > device in the same driver.
> >
> > sd is a mess, and its a mess largely because it tries to support every
> > possible form of mass storage. This is a big mistake IMO. I'd rather
> > have some code duplicated across different drivers, and have the drivers
> > be simpler and easier to maintain.
>
> Well, you need SCSI commands for CD-ROMs even when they are connected via ATA.
>
> I am not sure that this would really help.
Yes, but the SCSI commands and the support logic you need for cdroms are
quite different from what you need for disks, even though there is a
large area of overlap. There's a reason that these are specified by
different parts of the SCSI standards. :-)
- Garrett
More information about the Developer
mailing list