diff options
author | Christoph Hellwig <hch@lst.de> | 2024-11-26 11:21:36 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-26 07:57:33 -0700 |
commit | 1b0cab327e060ccf397ae634a34c84dd1d4d2bb2 (patch) | |
tree | 821919de15008f5e8fc32d256db5136f8efefd38 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0b83c86b444ab467134b0e618f45ad2216a4973c (diff) | |
download | linux-stable-1b0cab327e060ccf397ae634a34c84dd1d4d2bb2.tar.gz linux-stable-1b0cab327e060ccf397ae634a34c84dd1d4d2bb2.tar.bz2 linux-stable-1b0cab327e060ccf397ae634a34c84dd1d4d2bb2.zip |
mq-deadline: don't call req_get_ioprio from the I/O completion handler
req_get_ioprio looks at req->bio to find the I/O priority, which is not
set when completing bios that the driver fully iterated through.
Stash away the dd_per_prio in the elevator private data instead of looking
it up again to optimize the code a bit while fixing the regression from
removing the per-request ioprio value.
Fixes: 6975c1a486a4 ("block: remove the ioprio field from struct request")
Reported-by: Chris Bainbridge <chris.bainbridge@gmail.com>
Reported-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Chris Bainbridge <chris.bainbridge@gmail.com>
Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241126102136.619067-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions