Thread (44 messages) 44 messages, 10 authors, 2007-06-20

Re: [patch 4/6] ps3: Disk Storage Driver

From: Christoph Hellwig <hch@lst.de>
Date: 2007-06-19 17:20:27
Also in: linux-scsi, lkml

On Tue, Jun 19, 2007 at 02:51:25PM +0200, Geert Uytterhoeven wrote:
On Tue, 19 Jun 2007, Christoph Hellwig wrote:
quoted
On Fri, Jun 15, 2007 at 01:39:23PM +0200, Geert Uytterhoeven wrote:
quoted
From: Geert Uytterhoeven <redacted>

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
Looks good to me.  Only nitpicks are:

 - ps3disk_priv should probably be an inline function instead of a macro
I used a macro because you can do

    ps3disk_pri(dev) = ...;
I'm not exactly a fan of macros used as lvalues, but if you really
want this it can go in.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help