summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2026-02-23 02:27:04 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2026-03-01 05:04:03 +0300
commita4d72d2dd0cbc3ff20f66a9168dd68b191c57409 (patch)
treed71ac57ff10d57a234b92c9e2e717b9b17c97b67 /include
parente1502d990c8e26fa679b3253ff7db51483e6eb82 (diff)
downloadlinux-a4d72d2dd0cbc3ff20f66a9168dd68b191c57409.tar.xz
scsi: vhost-scsi: Report direction completion support
This has vhost-scsi report that it supports direct completions. When using a worker task per queue or group of queues with fast backends then enabling direct completion and submissions increases performance 20-30% with workloads like: fio --filename=/dev/sdb --direct=1 --rw=randrw --bs=8K \ --ioengine=libaio --iodepth=128 --numjobs=$jobs As jobs matches and passes the number of vCPUs in the VM then the benefit increases. However, when using a single worker then queueing completions and submissions is best as the worker is busy handling mapping data and setting/tearing down commands. Signed-off-by: Mike Christie <michael.christie@oracle.com> Link: https://patch.msgid.link/20260222232946.7637-5-michael.christie@oracle.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions