aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2017-03-30 15:22:16 +0300
committerMiklos Szeredi <[email protected]>2017-05-05 11:38:58 +0200
commit3a1e819b4e80216e00ef6a4dfe67fa142450c5e1 (patch)
tree97aaeff1699be25ad83ad8a4612ce3e16e116683 /tools/perf/scripts/python/export-to-postgresql.py
parent7bcd74b98d7bac3e5149894caaf72de6989af7f0 (diff)
ovl: store file handle of lower inode on copy up
Sometimes it is interesting to know if an upper file is pure upper or a copy up target, and if it is a copy up target, it may be interesting to find the copy up origin. This will be used to preserve lower inode numbers across copy up. Store the lower inode file handle in upper inode extended attribute overlay.origin on copy up to use it later for these cases. Store the lower filesystem uuid along side the file handle, so we can validate that we are looking for the origin file in the original fs. If lower fs does not support NFS export ops store a zero sized xattr so we can always use the overlay.origin xattr to distinguish between a copy up and a pure upper inode. Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions