summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-09 17:52:28 +0300
committerJens Axboe <axboe@kernel.dk>2020-01-21 03:04:06 +0300
commit10fef4bebf979bb705feed087611293d5864adfe (patch)
treeca1295794fd2ddf0d8be6fdd83d5950bbfcf6b3c /tools/perf/scripts/python/export-to-postgresql.py
parent354420f705ccd0aa2d41249f3bb55b4afbed1873 (diff)
downloadlinux-10fef4bebf979bb705feed087611293d5864adfe.tar.xz
io_uring: account fixed file references correctly in batch
We can't assume that the whole batch has fixed files in it. If it's a mix, or none at all, then we can end up doing a ref put that either messes up accounting, or causes an oops if we have no fixed files at all. Also ensure we free requests properly between inflight accounted and normal requests. Fixes: 82c721577011 ("io_uring: extend batch freeing to cover more cases") Reported-by: Dmitrii Dolgov <9erthalion6@gmail.com> Reported-by: Pavel Begunkov <asml.silence@gmail.com> Tested-by: Dmitrii Dolgov <9erthalion6@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