summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2021-08-06 20:05:37 +0200
committerDarrick J. Wong <djwong@kernel.org>2021-08-06 20:05:37 +0200
commitf1653c2e2831e9db6cd68473bbec581782df03a5 (patch)
tree3fa04e4373e85f430c6041e1e0ee883b222d805c /fs/xfs/xfs_mount.h
parentxfs: remove the active vs running quota differentiation (diff)
downloadlinux-f1653c2e2831e9db6cd68473bbec581782df03a5.tar.xz
linux-f1653c2e2831e9db6cd68473bbec581782df03a5.zip
xfs: introduce CPU hotplug infrastructure
We need to move to per-cpu state for both deferred inode inactivation and CIL tracking, but to do that we need to handle CPUs being removed from the system by the hot-plug code. Introduce generic XFS infrastructure to handle CPU hotplug events that is set up at module init time and torn down at module exit time. Initially, we only need CPU dead notifications, so we only set up a callback for these notifications. The infrastructure can be updated in future for other CPU hotplug state machine notifications easily if ever needed. Signed-off-by: Dave Chinner <dchinner@redhat.com> [djwong: rearrange some macros, fix function prototypes] Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
0 files changed, 0 insertions, 0 deletions