Mike Christie wrote:
I took this function from the cleanup I am doing in the
scsi layer. Unfortunately that work needs some things
fleshed out so I do not know when it will ever be merged.
For now so that dm can move forward I put only what we need
in dm-hw-handler.c and when the scsi-ml work gets
finished I hope we can merge the two or most likely add a
wrapper around the scsi function since we need mempools for
some of our structs.
oh yeah that reminds me, does anyone know if we will ever need very
large requests? A meg, or a couple of megs, or something that cannot be
handled with a kmalloc. Just wondering becuase for the scsi stuff we
need iovec/bvec/scatterlist support which I am working on.