]> git.baikalelectronics.ru Git - kernel.git/commit
dm crypt: export sysfs of kcryptd workqueue
authorJeffle Xu <jefflexu@linux.alibaba.com>
Mon, 30 Nov 2020 11:33:39 +0000 (19:33 +0800)
committerMike Snitzer <snitzer@redhat.com>
Fri, 4 Dec 2020 23:04:36 +0000 (18:04 -0500)
commit9934b6c90f8fe28d56c1b8698f7e5664cc6c4e37
treefde8966743d35aa63480884599c74367ff319a48
parent6862c571de3af06b245587b851c2b98e899f5cc1
dm crypt: export sysfs of kcryptd workqueue

It should be helpful to export sysfs of "kcryptd" workqueue in some
cases, such as setting specific CPU affinity of the workqueue.

Besides, also tweak the name format a little. The slash inside a
directory name will be translate into exclamation mark, such as
/sys/devices/virtual/workqueue/'kcryptd!253:0'.

Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c