commit | c5fbe57111ef59c315a71cd80e8b0af59e36ff21 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Wed Oct 05 17:17:03 2011 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Oct 13 15:02:53 2011 +0200 |
tree | 9f158e5bd9c3464a4444bd4888191d01fdb4ac45 | |
parent | 1ed20acf2f581480436fb621995ef7c18fa75fad [diff] |
block: split out bdrv_co_do_readv() and bdrv_co_do_writev() The public interface for I/O in coroutine context is bdrv_co_readv() and bdrv_co_writev(). Split out the request processing code into bdrv_co_do_readv() and bdrv_co_writev() so that it can be called internally when we refactor all request processing to use coroutines. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>