diff options
author | 2024-11-03 20:18:57 -0800 | |
---|---|---|
committer | 2024-11-05 13:38:33 -0800 | |
commit | 679b098b59cf6d0fc10f2f66c68af4202686cbf9 (patch) | |
tree | 8558fd9c26a26f7b1ed6ab600073ee3491c7577c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: record health problems with the metadata directory (diff) | |
download | wireguard-linux-679b098b59cf6d0fc10f2f66c68af4202686cbf9.tar.xz wireguard-linux-679b098b59cf6d0fc10f2f66c68af4202686cbf9.zip |
xfs: refactor directory tree root predicates
Metadata directory trees make reasoning about the parent of a file more
difficult. Traditionally, user files are children of sb_rootino, and
metadata files are "children" of the superblock. Now, we add a third
possibility -- some metadata files can be children of sb_metadirino, but
the classic ones (rt free space data and quotas) are left alone.
Let's add some helper functions (instead of open-coding the logic
everywhere) to make scrub logic easier to understand.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions