summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2021-06-02 10:48:24 +1000
committerDave Chinner <david@fromorbit.com>2021-06-02 10:48:24 +1000
commit61aa005a5bd7705e0bdca8b40c694369d40fb93f (patch)
treee4fcb0f482c752cdd0aca9af07e5f43d45d172bd /net
parent9bbafc71919adfdf83fafd2ce909853b493e7d86 (diff)
downloadlinux-61aa005a5bd7705e0bdca8b40c694369d40fb93f.tar.bz2
xfs: prepare for moving perag definitions and support to libxfs
The perag structures really need to be defined with the rest of the AG support infrastructure. The struct xfs_perag and init/teardown has been placed in xfs_mount.[ch] because there are differences in the structure between kernel and userspace. Mainly that userspace doesn't have a lot of the internal stuff that the kernel has for caches and discard and other such structures. However, it makes more sense to move this to libxfs than to keep this separation because we are now moving to use struct perags everywhere in the code instead of passing raw agnumber_t values about. Hence we shoudl really move the support infrastructure to libxfs/xfs_ag.[ch]. To do this without breaking userspace, first we need to rearrange the structures and code so that all the kernel specific code is located together. This makes it simple for userspace to ifdef out the all the parts it does not need, minimising the code differences between kernel and userspace. The next commit will do the move... Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions