git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c029772
)
dm crypt: use io thread for reads only if mempool exhausted
author
Milan Broz
<mbroz@redhat.com>
Thu, 13 Jan 2011 19:59:53 +0000
(19:59 +0000)
committer
Alasdair G Kergon
<agk@redhat.com>
Thu, 13 Jan 2011 19:59:53 +0000
(19:59 +0000)
If there is enough memory, code can directly submit bio
instead queing this operation in separate thread.
Try to alloc bio clone with GFP_NOWAIT and only if it
fails use separate queue (map function cannot block here).
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
No differences found