diff options
author | Christoph Hellwig <[email protected]> | 2024-11-26 11:21:36 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-11-26 07:57:33 -0700 |
commit | 1b0cab327e060ccf397ae634a34c84dd1d4d2bb2 (patch) | |
tree | 821919de15008f5e8fc32d256db5136f8efefd38 /drivers/fpga/fpga-bridge.c | |
parent | 0b83c86b444ab467134b0e618f45ad2216a4973c (diff) |
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 <[email protected]>
Reported-by: Sam Protsenko <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Chris Bainbridge <[email protected]>
Tested-by: Sam Protsenko <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions