]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: remove WQ_CPU_INTENSIVE flag from unbound wq's
authorGao Xiang <hsiangkao@redhat.com>
Fri, 31 Jul 2020 02:40:49 +0000 (10:40 +0800)
committerGao Xiang <hsiangkao@redhat.com>
Mon, 3 Aug 2020 13:04:46 +0000 (21:04 +0800)
commitb78b3e54bbb2b5f44f340ee3d02941518000925f
tree0f05e0e16f0b806e379d94bd4f5e690f58c7d689
parent552cbf0e97c18b07b4ea1a69596060bd51889599
erofs: remove WQ_CPU_INTENSIVE flag from unbound wq's

The documentation [1] says that WQ_CPU_INTENSIVE is "meaningless" for
unbound wq. I remove this flag from places where unbound queue is
allocated. This is supposed to improve code readability.

[1] https://www.kernel.org/doc/html/latest/core-api/workqueue.html#flags
Signed-off-by: Maksym Planeta <mplaneta@os.inf.tu-dresden.de>
[Gao Xiang: since the original treewide patch [2] hasn't been merged
            yet, handling the EROFS part only for the next cycle. ]
[2] https://lore.kernel.org/r/20200213141823.2174236-1-mplaneta@os.inf.tu-dresden.de
Link: https://lore.kernel.org/r/20200731024049.16495-1-hsiangkao@aol.com
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
fs/erofs/zdata.c