summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-08-09 15:04:04 +0300
committerJens Axboe <axboe@kernel.dk>2021-08-23 22:07:56 +0300
commitc97d8a0f68b30960e9c8089bc37cc3b96a96f84d (patch)
treefbad0bb9fb30d9295d296a4fbe40f84720accf4b /tools/perf/scripts/python/export-to-postgresql.py
parentb191e2dfe5955b392bc8c0ae546dfa5a13649c38 (diff)
downloadlinux-c97d8a0f68b30960e9c8089bc37cc3b96a96f84d.tar.xz
io_uring: avoid touching inode in rw prep
If we use fixed files, we can be sure (almost) that REQ_F_ISREG is set. However, for non-reg files io_prep_rw() still will look into inode to double check, and that's expensive and can be avoided. The only caveat is that it only currently works with 64+ bit architectures, see FFS_ISREG, so we should consider that. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/0a62780c491ca2522cd52db4ae3f16e03aafed0f.1628471125.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions