]> 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)
commit37f4b2a6cc4e67d55509bbcb8e1bbc67869f7c0a
treefde8966743d35aa63480884599c74367ff319a48
parentd3c57be183cf2be36ca9400d0aa956ee0dcdf1ad
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