[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1JBqum-0006wC-00@gondolin.me.apana.org.au>
Date: Mon, 07 Jan 2008 23:17:12 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: htejun@...il.com (Tejun Heo)
Cc: rusty@...tcorp.com.au, James.Bottomley@...senpartnership.com,
jens.axboe@...cle.com, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org, linux-ide@...r.kernel.org
Subject: Re: [PATCH 0/7] sg_ring: a ring of scatterlist arrays
Tejun Heo <htejun@...il.com> wrote:
>
> /me agrees. As long as this can be made sane using one unified
> interface, I don't care whether it's sg_ring, table or dish.
Give us sg_annulus :)
On a more serious note, having played with SG chaining for a couple
of years in the crypto layer, I must say Rusty's proposal is a great
improvement for me. The reason is that if the crypto layer gets an
SG list from its user, it is not at liberty to just modify it. As
such chaining at the end is cumbersome with the current interface
because we have to duplicate the whole list in order to add just a
single block at the end.
While with sg_ring we could just put the original list along with the
new one in a new list.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists