dm crypt: use unbound workqueue for request processing
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 13 Feb 2015 13:23:09 +0000 (08:23 -0500)
committerAlex Shi <alex.shi@linaro.org>
Tue, 23 Jun 2015 07:28:33 +0000 (15:28 +0800)
commitb5bd4625af0290d6e0cc7f7c73a4fadd59c4de01
tree0958317c148a77cb875ee7dd9794bdceb476f3ee
parent0596b350c482f03eda8ed40867404bb2953b3e49
dm crypt: use unbound workqueue for request processing

Use unbound workqueue by default so that work is automatically balanced
between available CPUs.  The original behavior of encrypting using the
same cpu that IO was submitted on can still be enabled by setting the
optional 'same_cpu_crypt' table argument.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
(cherry picked from commit f3396c58fd8442850e759843457d78b6ec3a9589)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Documentation/device-mapper/dm-crypt.txt
drivers/md/dm-crypt.c