From: Milan Broz Date: Thu, 13 Jan 2011 19:59:53 +0000 (+0000) Subject: dm crypt: use io thread for reads only if mempool exhausted X-Git-Tag: v2.6.38-rc1~221^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20c82538e4f5ede51bc2b4795bc6e5cae772796d;p=pandora-kernel.git dm crypt: use io thread for reads only if mempool exhausted 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 Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed