Re: [PATCH 0/3] Add proper STGT <-> bs_sg passthrough v3

From: Nicholas A. Bellinger
Date: Mon Jun 07 2010 - 05:41:00 EST


On Mon, 2010-06-07 at 18:35 +0900, FUJITA Tomonori wrote:
> On Mon, 07 Jun 2010 02:07:09 -0700
> "Nicholas A. Bellinger" <nab@xxxxxxxxxxxxxxx> wrote:
>
> > On Mon, 2010-06-07 at 17:56 +0900, FUJITA Tomonori wrote:
> > > On Mon, 07 Jun 2010 01:27:16 -0700
> > > "Nicholas A. Bellinger" <nab@xxxxxxxxxxxxxxx> wrote:
> > >
> > > > Ok, I just fixed some minor breakage and applied patch 3 on top of
> > > > tgt.git/pass in my local tree and everything appears to work with
> > > > '-E bsg -Y pt'.
> > > >
> > > > Please let me know if you have any other comments on the BSG bits or if
> > > > you would like me to send along a updated patch 3 seperately.
> > >
> > > Please send patches except for bsg first.
> > >
> > > About bsg support, we need both sg and bsg? Just bsg is not enough?
> >
> > I figured you would still like legacy support w/o bsg for the forseeable
> > future with older production kernels. I don't recall which kernel BSG
> > support was added or if this code has already been backported to the
> > various distro kernels.
>
> I prefer to support only bsg (until someone tells me to support sg).
>

Ok, if that is the case I will respin a patch on top of tgt.git/pass to
remove SG and use BSG exclusively. Please let me know if you have any
more recommendations in this area.

>
> btw, if you look for a tool to generate a bidi command, my sgv4-tools
> might work for you.
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tomo/sgv4-tools.git
>
> try sgv4_xdwriteread (note that it's not useful at all except for
> generating bidi).

Ah perfect, this is exactly what I am looking for. Many thanks.

Best,

--nab

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