]> git.baikalelectronics.ru Git - kernel.git/commit
dm crypt: use WQ_HIGHPRI for the IO and crypt workqueues
authorTim Murray <timmurray@google.com>
Fri, 21 Apr 2017 09:11:36 +0000 (11:11 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 24 Apr 2017 19:32:07 +0000 (15:32 -0400)
commita1b89132dc4f61071bdeaab92ea958e0953380a1
treeac32761454e9fbecbfd1e1535fe4a11c37b981e4
parentc82feeec9a014b72c4ffea36648cfb6f81cc1b73
dm crypt: use WQ_HIGHPRI for the IO and crypt workqueues

Running dm-crypt with workqueues at the standard priority results in IO
competing for CPU time with standard user apps, which can lead to
pipeline bubbles and seriously degraded performance.  Move to using
WQ_HIGHPRI workqueues to protect against that.

Signed-off-by: Tim Murray <timmurray@google.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c