]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: set WQ_SYSFS on all workqueues in debug mode
authorDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:48:42 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 3 Feb 2021 17:18:49 +0000 (09:18 -0800)
commitf12ae59db8228158cc09597161687ee3887fd83a
tree8a15ffcc486dd3e5ebdae0a1c8c9da2fa0c86876
parent336d688a9edb020829a4cdaf6e490163515cb58f
xfs: set WQ_SYSFS on all workqueues in debug mode

When CONFIG_XFS_DEBUG=y, set WQ_SYSFS on all workqueues that we create
so that we (developers) have a means to monitor cpu affinity and whatnot
for background workers.  In the next patchset we'll expose knobs for
more of the workqueues publicly and document it, but not now.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_mru_cache.c
fs/xfs/xfs_super.c
fs/xfs/xfs_super.h