diff options
author | Christoph Hellwig <hch@lst.de> | 2024-08-30 15:36:56 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-09-01 08:58:19 -0700 |
commit | c8e5a0bfe0086d4b99f95d98a946ebc9a56ecf20 (patch) | |
tree | ef61f4a68ade2895cfa01776bb43ce1bf014976c /tools/perf/scripts/python/exported-sql-viewer.py | |
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 <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions