diff options
author | 2024-02-22 12:35:22 -0800 | |
---|---|---|
committer | 2024-02-22 12:35:22 -0800 | |
commit | 2054cf051698d30cc9479678c2b807a364248f38 (patch) | |
tree | cdd74392897fc38fd2afb1916aabdbe787c69f62 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: move the btree stats offset into struct btree_ops (diff) | |
download | wireguard-linux-2054cf051698d30cc9479678c2b807a364248f38.tar.xz wireguard-linux-2054cf051698d30cc9479678c2b807a364248f38.zip |
xfs: factor out a xfs_btree_owner helper
Split out a helper to calculate the owner for a given btree instead of
duplicating the logic in two places. While we're at it, make the
bc_ag/bc_ino switch logic depend on the correct geometry flag.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: break this up into two patches for the owner check]
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