aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-11-26 10:21:36 +0000
committerJens Axboe <[email protected]>2024-11-26 14:57:33 +0000
commit1b0cab327e060ccf397ae634a34c84dd1d4d2bb2 (patch)
tree821919de15008f5e8fc32d256db5136f8efefd38 /drivers/usb/cdns3/cdns3-plat.c
parentblock: Prevent potential deadlock in blk_revalidate_disk_zones() (diff)
downloadkernel-1b0cab327e060ccf397ae634a34c84dd1d4d2bb2.tar.gz
kernel-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 <[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/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions