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)
commita2b8b2d975673b1a50ab0bcce5d146b9335edfad
treefde8966743d35aa63480884599c74367ff319a48
parent4d7659bfbe277a43399a4a2d90fca141e70f29e1
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