diff options
author | Christoph Hellwig <[email protected]> | 2024-08-30 15:37:10 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2024-09-01 08:58:19 -0700 |
commit | fd048a1bb391d0ad50144160c3a490b6b34e0755 (patch) | |
tree | ab457529402f67bdbcc4458d18a555344cba1c59 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a9f646af4307aca3e9006668264761949d5eb35c (diff) |
xfs: rework the rtalloc fallback handling
xfs_rtallocate currently has two fallbacks, when an allocation fails:
1) drop the requested extent size alignment, if any, and retry
2) ignore the locality hint
Oddly enough it does those in order, as trying a different location
is more in line with what the user asked for, and does it in a very
unstructured way.
Lift the fallback to try to allocate without the locality hint into
xfs_rtallocate to both perform them in a more sensible order and to
clean up the code.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions