Dave Chinner 0ed17f01c8 xfs: introduce all-mounts list for cpu hotplug notifications
The inode inactivation and CIL tracking percpu structures are
per-xfs_mount structures. That means when we get a CPU dead
notification, we need to then iterate all the per-cpu structure
instances to process them. Rather than keeping linked lists of
per-cpu structures in each subsystem, add a list of all xfs_mounts
that the generic xfs_cpu_dead() function will iterate and call into
each subsystem appropriately.

This allows us to handle both per-mount and global XFS percpu state
from xfs_cpu_dead(), and avoids the need to link subsystem
structures that can be easily found from the xfs_mount into their
own global lists.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
[djwong: expand some comments about mount list setup ordering rules]
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
2021-08-06 11:05:38 -07:00
..
2020-09-06 18:05:51 -07:00
2020-09-15 20:52:41 -07:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:27:20 +01:00
2021-06-29 10:53:48 -07:00
2019-10-28 08:37:54 -07:00
2021-06-21 10:05:51 -07:00
2021-07-02 14:30:27 -07:00
2021-06-21 10:05:46 -07:00
2021-04-15 09:35:51 -07:00
2021-07-02 14:30:27 -07:00
2021-06-02 10:48:24 +10:00
2021-08-06 11:05:36 -07:00
2021-08-06 11:05:36 -07:00
2021-06-02 10:48:24 +10:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:43:46 +01:00
2021-06-21 10:05:51 -07:00
2021-07-29 09:27:29 -07:00
2020-12-16 16:07:34 -08:00
2021-06-21 10:05:46 -07:00
2021-06-02 10:48:24 +10:00
2021-01-24 14:43:46 +01:00