aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-09-03 17:59:22 +0200
committerGreg Kroah-Hartman <[email protected]>2020-09-03 19:50:47 +0200
commit99f667352f6c938440d9043d0f66f859d6f3d50d (patch)
treebf5c687509f17d774cd978ac684c2a2c157d6ca2 /tools/perf/scripts/python/export-to-postgresql.py
parent261e7818f06ec51e488e007f787ccd7e77272918 (diff)
/dev/zero: also implement ->read
Christophe reported a major speedup due to avoiding the iov_iter overhead, so just add this trivial function. Note that /dev/zero already implements both an iter and non-iter writes so this just makes it more symmetric. Tested-by: Christophe Leroy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions