[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160615073951.GA14986@gondor.apana.org.au>
Date: Wed, 15 Jun 2016 15:39:51 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Baolin Wang <baolin.wang@...aro.org>
Cc: Jens Axboe <axboe@...nel.dk>, Alasdair G Kergon <agk@...hat.com>,
Mike Snitzer <snitzer@...hat.com>,
"open list:DEVICE-MAPPER (LVM)" <dm-devel@...hat.com>,
David Miller <davem@...emloft.net>,
Eric Biggers <ebiggers3@...il.com>,
Joonsoo Kim <js1304@...il.com>, tadeusz.struk@...el.com,
smueller@...onox.de, Masanari Iida <standby24x7@...il.com>,
Shaohua Li <shli@...nel.org>,
Dan Williams <dan.j.williams@...el.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Sagi Grimberg <sagig@...lanox.com>,
Kent Overstreet <kent.overstreet@...il.com>,
Keith Busch <keith.busch@...el.com>, Tejun Heo <tj@...nel.org>,
Ming Lei <ming.lei@...onical.com>,
Mark Brown <broonie@...nel.org>, Arnd Bergmann <arnd@...db.de>,
linux-crypto@...r.kernel.org, linux-block@...r.kernel.org,
"open list:SOFTWARE RAID (Multiple Disks) SUPPORT"
<linux-raid@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [RFC v4 2/4] crypto: Introduce CRYPTO_ALG_BULK flag
On Wed, Jun 15, 2016 at 03:38:02PM +0800, Baolin Wang wrote:
>
> But that means we should divide the bulk request into 512-byte size
> requests and break up the mapped sg table for each request. Another
> hand we should allocate memory for each request in crypto layer, which
> dm-crypt have supplied one high efficiency way. I think these are
> really top level how to use the crypro APIs, does that need to move
> into crypto laryer? Thanks.
I have already explained to you how you can piggy-back off dm-crypt's
allocation, so what's the problem?
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists