summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_exchrange.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-10-14 09:04:50 +0300
committerCarlos Maiolino <cem@kernel.org>2024-10-22 14:37:18 +0300
commit82742f8c3f1a93787a05a00aca50c2a565231f84 (patch)
tree8abeb60d04de41bdfa540737bde7423330e9877c /fs/xfs/xfs_exchrange.h
parentaf8512c5277d17aae09be5305daa9118d2fa8881 (diff)
downloadlinux-82742f8c3f1a93787a05a00aca50c2a565231f84.tar.xz
xfs: pass the exact range to initialize to xfs_initialize_perag
Currently only the new agcount is passed to xfs_initialize_perag, which requires lookups of existing AGs to skip them and complicates error handling. Also pass the previous agcount so that the range that xfs_initialize_perag operates on is exactly defined. That way the extra lookups can be avoided, and error handling can clean up the exact range from the old count to the last added perag structure. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_exchrange.h')
0 files changed, 0 insertions, 0 deletions