Subject: Re: Disk-level Transaction Clustering
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-perform
Date: 09/08/2002 15:11:50
On Sat, Sep 07, 2002 at 09:32:55AM -0700, Jason R Thorpe wrote:
> [...]
> ...then modify the SCSI HBA drivers to use bus_dmamap_load_uio instead
> of bus_dmamap_load when they see B_UIO.  Note that there is already some
> #if 0'd code for this in some HBA drivers (historical reasons).

bus_dmamap_load_uio() is not implemented (or partially implemented) on
most platforms. There is some work to do here first:
rochebonne:/usr/src/1.6/src/sys/arch>grep load_uio */*/*.c * |grep implemented
algor/isa/isadma_bounce.c:      panic("isadma_bounce_dmamap_load_uio: not implemented");
alpha/isa/isadma_bounce.c:      panic("isadma_bounce_dmamap_load_uio: not implemented");
arc/isa/isadma_bounce.c:        panic("isadma_bounce_dmamap_load_uio: not implemented");
atari/isa/isa_dma.c:    panic("_isa_bus_dmamap_load_uio: not implemented");
bebox/isa/isadma_machdep.c:     panic("_isa_bus_dmamap_load_uio: not implemented");
evbmips/isa/isadma_bounce.c:    panic("isadma_bounce_dmamap_load_uio: not implemented");
i386/isa/isa_machdep.c: panic("_isa_bus_dmamap_load_uio: not implemented");
i386/mca/mca_machdep.c: panic("_mca_bus_dmamap_load_uio: not implemented");
mvmeppc/isa/isadma_machdep.c:   panic("_isa_bus_dmamap_load_uio: not implemented");
prep/isa/isadma_machdep.c:      panic("_isa_bus_dmamap_load_uio: not implemented");
sandpoint/isa/isadma_machdep.c: panic("_isa_bus_dmamap_load_uio: not implemented");
shark/isa/isadma_machdep.c:     panic("_isa_bus_dmamap_load_uio: not implemented");
sparc/sparc/iommu.c:    panic("_bus_dmamap_load_uio: not implemented");
sparc/sparc/machdep.c:  panic("_bus_dmamap_load_uio: not implemented");
sun68k/sun68k/bus.c:    panic("_bus_dmamap_load_uio: not implemented");
vax/vax/sgmap.c:        panic("vax_sgmap_load_uio : not implemented");
x68k/dev/intio.c:       panic("_intio_bus_dmamap_load_uio: not implemented");
x68k/x68k/bus.c:        panic ("x68k_bus_dmamap_load_uio: not implemented");
x86_64/isa/isa_machdep.c:       panic("_isa_bus_dmamap_load_uio: not implemented");

And I'm sure I missed some :)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--