[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 4/6] raw-posix: Switch to bdrv_co_* interfaces
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH 4/6] raw-posix: Switch to bdrv_co_* interfaces |
Date: |
Tue, 14 Jun 2016 13:04:38 +0100 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Wed, Jun 08, 2016 at 04:10:09PM +0200, Kevin Wolf wrote:
> diff --git a/block/raw-aio.h b/block/raw-aio.h
> index 714714e..1037502 100644
> --- a/block/raw-aio.h
> +++ b/block/raw-aio.h
> @@ -38,6 +38,8 @@
> typedef struct LinuxAioState LinuxAioState;
> LinuxAioState *laio_init(void);
> void laio_cleanup(LinuxAioState *s);
> +int laio_submit_co(BlockDriverState *bs, LinuxAioState *s, int fd,
> + int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, int type);
Please add coroutine_fn.
Please rename to laio_co_submit(), the naming convention is
bdrv_co_foo() instead of bdrv_foo_co().
signature.asc
Description: PGP signature
- Re: [Qemu-block] [PATCH 1/6] block: Byte-based bdrv_co_do_copy_on_readv(), (continued)
- [Qemu-block] [PATCH 5/6] raw-posix: Implement .bdrv_co_preadv/pwritev, Kevin Wolf, 2016/06/08
- [Qemu-block] [PATCH 3/6] block: Prepare bdrv_aligned_pwritev() for byte-aligned requests, Kevin Wolf, 2016/06/08
- [Qemu-block] [PATCH 4/6] raw-posix: Switch to bdrv_co_* interfaces, Kevin Wolf, 2016/06/08
- [Qemu-block] [PATCH 6/6] block: Don't enforce 512 byte minimum alignment, Kevin Wolf, 2016/06/08
- Re: [Qemu-block] [PATCH 0/6] block: Enable byte granularity I/O, Stefan Hajnoczi, 2016/06/13