diff options
author | Christoph Hellwig <[email protected]> | 2024-09-18 07:30:10 +0200 |
---|---|---|
committer | Carlos Maiolino <[email protected]> | 2024-10-07 08:00:12 +0200 |
commit | 6aac77059881e4419df499392c995bf02fb9630b (patch) | |
tree | b7eb8cd21d72ef2112d00fb4a84c0b96f3e197ed /lib/memory-notifier-error-inject.c | |
parent | 405ee87c6938f67e6ab62a3f8f85b3c60a093886 (diff) |
xfs: support lowmode allocations in xfs_bmap_exact_minlen_extent_alloc
Currently the debug-only xfs_bmap_exact_minlen_extent_alloc allocation
variant fails to drop into the lowmode last resort allocator, and
thus can sometimes fail allocations for which the caller has a
transaction block reservation.
Fix this by using xfs_bmap_btalloc_low_space to do the actual allocation.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions