]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: usb: storage: Complete the SCSI request directly
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Tue, 1 Feb 2022 21:09:54 +0000 (22:09 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Feb 2022 04:14:15 +0000 (23:14 -0500)
commit6d76cd73704cfc794df43ba9a8bed34a2b901ef4
tree7fe8e836cc877003957cb6b9c5e6b87fd73f1cca
parenta0abafad1f53cbea7d7329f34d02c9ea2e09d653
scsi: usb: storage: Complete the SCSI request directly

The USB storage driver can complete its requests directly from a kernel
thread. Use scsi_done_direct() to avoid waking ksoftirqd.

Link: https://lore.kernel.org/r/20220201210954.570896-3-sebastian@breakpoint.cc
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/usb/storage/usb.c