Il 23/05/2014 15:28, Ming Lei ha scritto:
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.
Nice. :) The patch looks good, thanks for working this out!
James, I have a couple more patches planned for virtio-scsi, so I'll
send out the update next week.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html