diff options
author | 2024-11-03 20:18:28 -0800 | |
---|---|---|
committer | 2024-11-05 13:38:24 -0800 | |
commit | 856a920ac2bbb2352ef6aa9e1e052f2e80677df7 (patch) | |
tree | 799a516c3e88fc279f3815be3907759e45569daf /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: remove the agno argument to xfs_free_ag_extent (diff) | |
download | wireguard-linux-856a920ac2bbb2352ef6aa9e1e052f2e80677df7.tar.xz wireguard-linux-856a920ac2bbb2352ef6aa9e1e052f2e80677df7.zip |
xfs: add xfs_agbno_to_fsb and xfs_agbno_to_daddr helpers
Add helpers to convert an agbno to a daddr or fsbno based on a pag
structure.
This provides a simpler conversion and better type safety compared to the
existing code that passes the mount structure and the agno separately.
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions