[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 01/11] aio: Introduce "type" in aio_set_fd_ha
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH v2 01/11] aio: Introduce "type" in aio_set_fd_handler and aio_set_event_notifier |
Date: |
Thu, 27 Aug 2015 14:50:35 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Wed, Jul 29, 2015 at 12:42:04PM +0800, Fam Zheng wrote:
> The parameter is added but not used.
>
> The callers are converted with following coccinelle semantic patch:
>
> @@
> expression E1, E2, E3, E4, E5;
> @@
> (
> -aio_set_event_notifier(E1, E2, E3)
> +aio_set_event_notifier(E1, E2, AIO_CLIENT_UNSPECIFIED, E3)
> |
> -aio_set_fd_handler(E1, E2, E3, E4, E5)
> +aio_set_fd_handler(E1, E2, AIO_CLIENT_UNSPECIFIED, E3, E4, E5)
> )
>
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> aio-posix.c | 4 ++-
> aio-win32.c | 2 ++
> async.c | 3 ++-
> block/curl.c | 14 +++++-----
> block/iscsi.c | 9 +++----
> block/linux-aio.c | 5 ++--
> block/nbd-client.c | 10 ++++---
> block/nfs.c | 17 +++++-------
> block/sheepdog.c | 32 +++++++++++++++--------
> block/ssh.c | 5 ++--
> block/win32-aio.c | 5 ++--
> hw/block/dataplane/virtio-blk.c | 6 +++--
> hw/scsi/virtio-scsi-dataplane.c | 24 +++++++++++------
> include/block/aio.h | 5 ++++
> nbd.c | 4 ++-
> tests/test-aio.c | 58
> +++++++++++++++++++++++------------------
> 16 files changed, 122 insertions(+), 81 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-block] [PATCH v2 01/11] aio: Introduce "type" in aio_set_fd_handler and aio_set_event_notifier,
Stefan Hajnoczi <=