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>
This commit is contained in:
parent
b84b6ec0f9
commit
23fe075519
@ -417,7 +417,7 @@ SkipForAbort:
|
||||
if (srb) {
|
||||
usb_stor_dbg(us, "scsi cmd done, result=0x%x\n",
|
||||
srb->result);
|
||||
scsi_done(srb);
|
||||
scsi_done_direct(srb);
|
||||
}
|
||||
} /* for (;;) */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user