Here is a slightly modified version of the patch that I
sent to you for 2.5.49 to use struct io_restrictions in blkdev.h.
Christoph Hellwig objected to the blkdev.h including
device-mapper.h, so this version of the patch moves struct
io_restrictions to a new file <linux/gather-scatter.h>.
I did not want to put it in blkdev.h because that would break
compilation of the device-mapper user level software, and I expect it
to be applicable to other DMA gather/scatter generators in the future
and , at which point I expect to add versions of your DMA merge
functions to for scatterlists to <linux/gather-scatter.h>. I did not
want to use <linux/dma.h> or <linux/scatterlist.h> because there are
already asm/ versions of these include files and I would like to leave
those names available in case anyone decides to consolidate some
architecture-neutral parts of those <asm/...> files into corresponding
<linux/...> files.
Anyhow, does anyone have a problem with this patch now?
If not, Jens, can you please integrate it and forward it to Linus?
--
Adam J. Richter __ ______________ 575 Oroville Road
[email protected] \ / Milpitas, California 95035
+1 408 309-6081 | g g d r a s i l United States of America
"Free Software For The Rest Of Us."