Patch/resubmit(2.5.50): Use struct io_restrictions in blkdev.h

From: Adam J. Richter (adam@yggdrasil.com)
Date: Fri Nov 29 2002 - 21:47:16 EST


        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
adam@yggdrasil.com     \ /                  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."


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:23 EST