Re: [PATCH] kvm tools: Improve virtio blk request processing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 28, 2011 at 7:34 AM, Asias He <asias.hejun@xxxxxxxxx> wrote:
> There are at most bdev->reqs[VIRTIO_BLK_QUEUE_SIZE] outstanding requests
> at any time.  We can simply use the head of each request to fetch the
> right 'struct blk_dev_req' in bdev->reqs[].
>
> So, we can eliminate the list and lock operations which introduced by
> virtio_blk_req_{pop, push}.
>
> Signed-off-by: Asias He <asias.hejun@xxxxxxxxx>

Seems like a reasonable thing to do. Sasha?
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux