aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChaitanya Kulkarni <kch@nvidia.com>2022-02-02 01:04:44 -0800
committerChristoph Hellwig <hch@lst.de>2022-02-28 13:45:05 +0200
commit2caecd62ea5160803b25d96cb1a14ce755c2c259 (patch)
treee6aee65b3cd522347626a22444bb50bf6e34c47e /tools/perf/scripts/python/export-to-postgresql.py
parent581f19dd72b9d148ce667b6dcb20d3ef16b9a1cf (diff)
nvmet: use i_size_read() to set size for file-ns
Instead of calling vfs_getattr() use i_size_read() to read the size of file so we can read the size of not only file type but also block type with one call. This is needed to implement buffered_io support for the NVMeOF block device backend. We also change return type of function nvmet_file_ns_revalidate() from int to void, since this function does not return any meaning value. Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions