]> git.baikalelectronics.ru Git - kernel.git/commit
dm crypt: add post processing queue
authorMilan Broz <mbroz@redhat.com>
Fri, 19 Oct 2007 21:38:58 +0000 (22:38 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 20 Oct 2007 01:01:14 +0000 (02:01 +0100)
commit86519e78b291c0e321d0182ed18012df74a71aaf
treeb931cc050b8294a6f04790683e191e324268bad6
parentf80957449895364f8cf1e2028d5f0678001fceb4
dm crypt: add post processing queue

Add post-processing queue (per crypt device) for read operations.

Current implementation uses only one queue for all operations
and this can lead to starvation caused by many requests waiting
for memory allocation. But the needed memory-releasing operation
is queued after these requests (in the same queue).

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