Re: [PATCH 1/4] scsi: target: Add support for completing commands from backend context
"Martin K. Petersen" <[email protected]>
| Newsgroups | org.kernel.vger.target-devel,org.kernel.vger.linux-scsi |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 22 Feb 2026 17:27:01 -0600, Mike Christie wrote:
> To complete a command several drivers just drop their reference and
> add it to list to be processed by a driver specific thread. So there's
> no need to go from backend context to the LIO thread then to the
> driver's thread. When avoiding the LIO thread, IOPS can increase from
> 20-30% for workloads like:
>
> fio --filename=/dev/sdb --direct=1 --rw=randrw --bs=8K \
> --ioengine=libaio --iodepth=128 --numjobs=$jobs
>
> [...]
Applied to 7.1/scsi-queue, thanks!
[1/4] scsi: target: Add support for completing commands from backend context
https://git.kernel.org/mkp/scsi/c/06933066d88a
[2/4] scsi: target: Use driver completion preference by default
https://git.kernel.org/mkp/scsi/c/89663fb2e538
[3/4] scsi: target: Allow userspace to set the completion type
https://git.kernel.org/mkp/scsi/c/e1502d990c8e
[4/4] vhost-scsi: Report direction completion support
https://git.kernel.org/mkp/scsi/c/a4d72d2dd0cb
--
Martin K. Petersen