summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-04-22 19:47:40 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-04-23 17:46:56 +0300
commitf041455eb5773eda3291903ad6d1f33d4798e9a2 (patch)
treed9e42502abec9b251ed479bf6de0aa44dcee01f1 /tools/perf/scripts/python/export-to-postgresql.py
parent8337d58ab2868f231a29824cd86d2e309bd36fa9 (diff)
downloadlinux-f041455eb5773eda3291903ad6d1f33d4798e9a2.tar.xz
xfs: allow xattr matching on name and value for parent pointers
If a file is hardlinked with the same name but from multiple parents, the parent pointers will all have the same dirent name (== attr name) but with different parent_ino/parent_gen values. To disambiguate, we need to be able to match on both the attr name and the attr value. This is in contrast to regular xattrs, which are matchtg edit d only on name. Therefore, plumb in the ability to match shortform and local attrs on name and value in the XFS_ATTR_PARENT namespace. Parent pointer attr values are never large enough to be stored in a remote attr, so we need can reject these cases as corruption. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions