[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070615.141720.112626963.davem@davemloft.net>
Date: Fri, 15 Jun 2007 14:17:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Geert.Uytterhoeven@...ycom.com
Cc: dwmw2@...radead.org, axboe@...nel.dk, James.Bottomley@...elEye.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...abs.org, paulus@...ba.org
Subject: Re: [patch 4/6] ps3: Disk Storage Driver
From: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
Date: Fri, 15 Jun 2007 16:43:05 +0200 (CEST)
> On Fri, 15 Jun 2007, David Woodhouse wrote:
> > On Fri, 2007-06-15 at 13:39 +0200, Geert Uytterhoeven wrote:
> > > Add a Disk Storage Driver for the PS3:
> > > - Implemented as a block device driver with a dynamic major
> > > - Disk names (and partitions) are of the format ps3d%c(%u)
> > > - Uses software scatter-gather with a 64 KiB bounce buffer as the hypervisor
> > > doesn't support scatter-gather
> >
> > Any particular reason why this is done as a separate block device driver
> > rather than as SCSI?
>
> Because no new fake SCSI drivers are accepted anymore.
I'm strongly divided on this issue as I'm about to hit the same exact
thing for Sun Logical Domains on sparc64 Niagara systems.
In fact the interface I get to use allows SCSI commands to be sent
pass-through to the device, even though the basic virtual I/O API is
purely block I/O based.
It's senseless to make people build new major/minor numbers for
all these new quirky storage drivers. People have to add support
for the new major number to installers and all kinds of other
tools.
If the SCSI guys were smart, there would be a totally generic helper
layer that allows anyone to hook into the SCSI layer as a virtual SCSI
disk provider in like 10 lines of code. :-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists