xfs: check that per-cpu inodegc workers actually run on that cpu
authorDarrick J. Wong <djwong@kernel.org>
Mon, 1 May 2023 23:16:12 +0000 (09:16 +1000)
committerDave Chinner <dchinner@redhat.com>
Mon, 1 May 2023 23:16:12 +0000 (09:16 +1000)
commitb37c4c8339cd394ea6b8b415026603320a185651
treea62bf357cf0cfce7c9b09bfa469375fcd16cc607
parent03e0add80f4cf3f7393edb574eeb3a89a1db7758
xfs: check that per-cpu inodegc workers actually run on that cpu

Now that we've allegedly worked out the problem of the per-cpu inodegc
workers being scheduled on the wrong cpu, let's put in a debugging knob
to let us know if a worker ever gets mis-scheduled again.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_icache.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_super.c