xfs: don't use __GFP_RETRY_MAYFAIL in xfs_initialize_perag
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Oct 2024 06:04:54 +0000 (08:04 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 22 Oct 2024 11:37:18 +0000 (13:37 +0200)
commit069cf5e32b700f94c6ac60f6171662bdfb04f325
tree69b6dc1f77a10ca688dcc6f43f1614339adbdfc6
parentb882b0f8138ffa935834e775953f1630f89bbb62
xfs: don't use __GFP_RETRY_MAYFAIL in xfs_initialize_perag

__GFP_RETRY_MAYFAIL increases the likelyhood of allocations to fail,
which isn't really helpful during log recovery.  Remove the flag and
stick to the default GFP_KERNEL policies.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_ag.c