diff options
author | Christoph Hellwig <[email protected]> | 2024-08-30 15:36:56 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2024-09-01 08:58:19 -0700 |
commit | c8e5a0bfe0086d4b99f95d98a946ebc9a56ecf20 (patch) | |
tree | ef61f4a68ade2895cfa01776bb43ce1bf014976c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 237130564ef3745ab4a8b5ba09da929befc761d9 (diff) |
xfs: push the calls to xfs_rtallocate_range out to xfs_bmap_rtalloc
Currently the various low-level RT allocator functions call into
xfs_rtallocate_range directly, which ties them into the locking protocol
for the RT bitmap. As these helpers already return the allocated range,
lift the call to xfs_rtallocate_range into xfs_bmap_rtalloc so that it
happens as high as possible in the stack, which will simplify future
changes to the locking protocol.
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