diff options
author | Mike Christie <michael.christie@oracle.com> | 2021-02-27 11:00:04 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-04 17:37:02 -0500 |
commit | 6888da8179fd4cfff4c6b62d5587ec2cd21e316d (patch) | |
tree | ff67fca035a3fd731d5de969395626fc944b22b3 /drivers/tty/n_tty.c | |
parent | 415ccd9811da38aed04f54051c8ae87699c4e6c2 (diff) | |
download | linux-6888da8179fd4cfff4c6b62d5587ec2cd21e316d.tar.bz2 |
scsi: target: tcmu: Add backend plug/unplug callouts
This patch adds plug/unplug callouts for tcmu, so we can avoid the number
of times we switch to userspace. Using this driver with tcm_loop is a
common config, and dependng on the nr_hw_queues (nr_hw_queues=1 performs
much better) and fio jobs (lower num jobs around 4) this patch can increase
IOPS by only around 5-10% because we hit other issues like the big per tcmu
device mutex.
Link: https://lore.kernel.org/r/20210227170006.5077-24-michael.christie@oracle.com
Reviewed-by: Bodo Stroesser <bostroesser@gmail.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/tty/n_tty.c')
0 files changed, 0 insertions, 0 deletions