Whamcloud - gitweb
LU-13258 libcfs: make apply_workqueue_attrs() available for Lustre 13/37613/2
authorJames Simmons <jsimmons@infradead.org>
Mon, 17 Feb 2020 19:34:41 +0000 (14:34 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 25 Feb 2020 05:52:07 +0000 (05:52 +0000)
commit3453c95f513cd9d65f8e74e64d10d8942d934f01
tree657096f5ae5e0722180425b89d2ed17353272329
parentf57030811f20b7c3e1432134ff97c9929ff4e0c8
LU-13258 libcfs: make apply_workqueue_attrs() available for Lustre

Currently Lustre work queues can run on any core which introduces
noise on the system. The linux kernel has a function called
apply_workqueue_attrs() which allows you to control which cores
a work queue will execute on. Manually export this function so
Lustre can use it.

Test-Parameters: trivial

Change-Id: I467539cb8def7029fa9dfff2386234de5e0fe133
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/37613
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/linux/linux-misc.h
libcfs/libcfs/linux/linux-prim.c
libcfs/libcfs/module.c