]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: don't use __GFP_RETRY_MAYFAIL in xfs_initialize_perag
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Oct 2024 05:11:48 +0000 (22:11 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 31 Oct 2024 22:45:04 +0000 (15:45 -0700)
commit4b7c32f74e83520a317d6f62b78bad4e24f5b6e4
tree78b759906adceb6e259b81e997031e6ffb8b586e
parentd64d607e19f4a7373b033b351117075e10c9bc16
xfs: don't use __GFP_RETRY_MAYFAIL in xfs_initialize_perag

Source kernel commit: 069cf5e32b700f94c6ac60f6171662bdfb04f325

__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>
libxfs/xfs_ag.c