xfs: pass perags around in fsmap data dev functions
authorDave Chinner <dchinner@redhat.com>
Wed, 2 Jun 2021 00:48:24 +0000 (10:48 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 2 Jun 2021 00:48:24 +0000 (10:48 +1000)
commit58d43a7e3263766ade4974c86118e6b5737ea259
treed9620c022272334975b2e5b11e42e4b40ba41623
parent30933120ad79f4549d6e364df7eda474cc0d9c65
xfs: pass perags around in fsmap data dev functions

Needs a [from, to] ranged AG walk, and the perag to be stuffed into
the info structure for callouts to use.

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