dm crypt: add async request mempool
authorMilan Broz <mbroz@redhat.com>
Fri, 8 Feb 2008 02:11:07 +0000 (02:11 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:11:07 +0000 (02:11 +0000)
commitddd42edfd8ec44595b1501318512bc29a36f015f
treec102f6dd5ffad033531352ef53508db4bbefb382
parent01482b7671d014aa44f2efbc1153f4e3f48d7fb3
dm crypt: add async request mempool

dm-crypt: Use crypto ablkcipher interface

Introduce mempool for async crypto requests.

cc->req is used mainly during synchronous operations
(to prevent allocation and deallocation of the same object).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-crypt.c