qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 09/18] block/iscsi: drop iscsi_process_flush(


From: Wenchao Xia
Subject: Re: [Qemu-devel] [PATCH v6 09/18] block/iscsi: drop iscsi_process_flush()
Date: Mon, 29 Jul 2013 16:17:33 +0800
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

Reviewed-by: Wenchao Xia <address@hidden>

> .io_flush() is no longer called so drop iscsi_process_flush().
> 
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
>   block/iscsi.c | 9 +--------
>   1 file changed, 1 insertion(+), 8 deletions(-)
> 
> diff --git a/block/iscsi.c b/block/iscsi.c
> index 5f28c6a..e2692d6 100644
> --- a/block/iscsi.c
> +++ b/block/iscsi.c
> @@ -146,13 +146,6 @@ static const AIOCBInfo iscsi_aiocb_info = {
>   static void iscsi_process_read(void *arg);
>   static void iscsi_process_write(void *arg);
> 
> -static int iscsi_process_flush(void *arg)
> -{
> -    IscsiLun *iscsilun = arg;
> -
> -    return iscsi_queue_length(iscsilun->iscsi) > 0;
> -}
> -
>   static void
>   iscsi_set_events(IscsiLun *iscsilun)
>   {
> @@ -166,7 +159,7 @@ iscsi_set_events(IscsiLun *iscsilun)
>           qemu_aio_set_fd_handler(iscsi_get_fd(iscsi),
>                         iscsi_process_read,
>                         (ev & POLLOUT) ? iscsi_process_write : NULL,
> -                      iscsi_process_flush,
> +                      NULL,
>                         iscsilun);
> 
>       }
> 


-- 
Best Regards

Wenchao Xia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]