summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-04-13 06:12:49 +0300
committerJens Axboe <axboe@kernel.dk>2020-04-13 06:16:01 +0300
commit88357580854aab29d27e1a443575caaedd081612 (patch)
treece168deef967746e8ebc79d895661c2f128ef2b7 /tools/perf/scripts/python/export-to-postgresql.py
parentb1f573bd15fda2e19ea66a4d26fae8be1b12791d (diff)
downloadlinux-88357580854aab29d27e1a443575caaedd081612.tar.xz
io_uring: correct O_NONBLOCK check for splice punt
The splice file punt check uses file->f_mode to check for O_NONBLOCK, but it should be checking file->f_flags. This leads to punting even for files that have O_NONBLOCK set, which isn't necessary. This equates to checking for FMODE_PATH, which will never be set on the fd in question. Fixes: 7d67af2c0134 ("io_uring: add splice(2) support") 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