Re: [PATCH 0/5] Add vhost-blk support
From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2012-07-17 09:32:45
Also in:
kvm, lkml
Il 17/07/2012 11:21, Asias He ha scritto:
quoted
It depends. Like vhost-scsi, vhost-blk has the problem of a crippled feature set: no support for block device formats, non-raw protocols, etc. This makes it different from vhost-net.Data-plane qemu also has this cripppled feature set problem, no?
Yes, but that is just a proof of concept. We can implement a separate I/O thread within the QEMU block layer, and add fast paths that resemble data-path QEMU, without limiting the feature set.
Does user always choose to use block devices format like qcow2? What if they prefer raw image or raw block device?
If they do, the code should hit fast paths and be fast. But it should be automatic, without the need for extra knobs. aio=thread vs. aio=native is already one knob too much IMHO.
quoted
So it begs the question, is it going to be used in production, or just a useful reference tool?This should be decided by user, I can not speak for them. What is wrong with adding one option for user which they can decide?
Having to explain the user about the relative benefits; having to support the API; having to handle transition from one more thing when something better comes out. Paolo -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to majordomo@kvack.org. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>