diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-19 07:27:20 +0100 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-02-21 11:36:52 +0530 |
commit | 0473635d46e2344eed897dcfca12aa4688285262 (patch) | |
tree | 7fb3d7ee760b9c20dc293aab41a60430fb53a25f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a2078df025d92046cc98a9fce65220abd864781e (diff) |
xfs: remove xfile_stat
vfs_getattr is needed to query inode attributes for unknown underlying
file systems. But shmemfs is well known for users of shmem_file_setup
and shmem_read_mapping_page_gfp that rely on it not needing specific
inode revalidation and having a normal mapping. Remove the detour
through the getattr method and an extra wrapper, and just read the
inode size and i_bytes directly in the scrub tracing code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions