Ming Lei
938ece711c
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>
2014-07-25 17:17:00 -04:00
..
2014-07-17 22:07:37 +02:00
2014-07-25 17:16:54 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-25 17:16:54 -04:00
2014-07-25 17:16:55 -04:00
2014-07-25 17:16:59 -04:00
2014-07-25 17:16:59 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:38 +02:00
2014-06-06 07:57:37 -06:00
2014-05-19 19:12:23 +02:00
2014-07-25 17:16:34 -04:00
2014-07-25 17:16:55 -04:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:38 +02:00
2014-07-17 22:07:37 +02:00
2014-07-25 17:16:58 -04:00
2014-07-25 17:16:58 -04:00
2014-06-20 08:22:39 +08:00
2014-06-06 07:57:37 -06:00
2014-07-17 22:07:37 +02:00
2014-06-25 13:29:05 +02:00
2014-07-25 17:16:55 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:25:13 +02:00
2014-07-25 17:16:56 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-06-09 18:54:06 -07:00
2014-05-28 12:11:08 +02:00
2014-07-17 22:07:40 +02:00
2014-07-17 22:07:38 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:10:43 +02:00
2014-07-17 22:07:38 +02:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:05:37 +02:00
2014-07-25 17:16:28 -04:00
2014-06-02 09:55:02 +02:00
2014-07-25 17:17:00 -04:00
2014-06-02 09:54:59 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-05-23 16:28:53 -04:00
2014-07-25 17:16:55 -04:00
2014-07-25 07:43:43 -04:00
2014-05-28 12:10:43 +02:00
2014-05-28 12:05:37 +02:00
2014-07-17 22:07:44 +02:00
2014-07-17 22:07:38 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:35 +02:00
2014-07-25 17:16:56 -04:00
2014-07-17 22:07:37 +02:00
2014-05-28 18:14:16 +02:00
2014-07-17 22:07:37 +02:00
2014-06-06 07:57:37 -06:00
2014-07-25 17:16:55 -04:00
2014-05-28 12:05:36 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-25 17:16:55 -04:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:37 +02:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:41 +02:00
2014-07-25 17:16:28 -04:00
2014-07-25 17:16:28 -04:00
2014-07-17 22:07:37 +02:00
2014-07-25 17:16:41 -04:00
2014-06-06 16:08:16 -07:00
2014-07-25 17:16:28 -04:00
2014-07-25 17:16:54 -04:00
2014-07-25 17:16:54 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:44 +02:00
2014-07-25 17:16:40 -04:00
2014-07-25 17:16:42 -04:00
2014-07-17 22:07:33 +02:00
2014-07-25 07:43:45 -04:00
2014-07-17 22:07:39 +02:00
2014-07-17 22:07:39 +02:00
2014-07-25 17:16:41 -04:00
2014-07-25 17:16:41 -04:00
2014-07-17 22:07:41 +02:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:16:28 +02:00
2014-05-28 12:16:28 +02:00
2014-05-28 12:11:33 +02:00
2014-05-28 12:05:37 +02:00
2014-05-28 12:05:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-25 17:17:00 -04:00
2014-07-17 22:07:37 +02:00