summaryrefslogtreecommitdiffstats
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2014-07-06 16:39:26 +0200
committerChristoph Hellwig <hch@lst.de>2014-07-25 17:17:00 -0400
commit938ece711c5b1ba4fa8e3b9fc8cc03843ae82a5b (patch)
treeb0e463b8a15699a1eb68f92baf3ed52200f255aa /drivers/Kconfig
parent0758f4f732b08b6ef07f2e5f735655cf69fea477 (diff)
downloadlinux-stable-938ece711c5b1ba4fa8e3b9fc8cc03843ae82a5b.tar.gz
linux-stable-938ece711c5b1ba4fa8e3b9fc8cc03843ae82a5b.tar.bz2
linux-stable-938ece711c5b1ba4fa8e3b9fc8cc03843ae82a5b.zip
virtio-scsi: replace target spinlock with seqcount
The spinlock of tgt_lock is only for serializing read and write req_vq, one lockless seqcount is enough for the purpose. On one 16core VM with vhost-scsi backend, the patch can improve IOPS with 3% on random read test. Signed-off-by: Ming Lei <ming.lei@canonical.com> [Add initialization in virtscsi_target_alloc. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions