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

Re: [win-pv-devel] [PATCH 1/3] Remove duplicate xenstore-write



> -----Original Message-----
> From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On 
> Behalf Of Owen Smith
> Sent: 22 March 2019 10:33
> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Owen Smith <owen.smith@xxxxxxxxxx>
> Subject: [win-pv-devel] [PATCH 1/3] Remove duplicate xenstore-write
> 
> Also shows num/max queues in debug callback
> 
> Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>

Acked-by: Paul Durrant <paul.durrant@xxxxxxxxxx>

> ---
>  src/xenvbd/frontend.c | 15 +++++----------
>  1 file changed, 5 insertions(+), 10 deletions(-)
> 
> diff --git a/src/xenvbd/frontend.c b/src/xenvbd/frontend.c
> index b12e122..12c9296 100644
> --- a/src/xenvbd/frontend.c
> +++ b/src/xenvbd/frontend.c
> @@ -1276,16 +1276,6 @@ FrontendConnect(
>          if (!NT_SUCCESS(Status))
>              goto abort;
> 
> -        Status = XENBUS_STORE(Printf,
> -                              &Frontend->StoreInterface,
> -                              Transaction,
> -                              Frontend->FrontendPath,
> -                              "multi-queue-num-queues",
> -                              "%u",
> -                              __FrontendGetNumQueues(Frontend));
> -        if (!NT_SUCCESS(Status))
> -            goto abort;
> -
>          Status = XENBUS_STORE(TransactionEnd,
>                                &Frontend->StoreInterface,
>                                Transaction,
> @@ -1628,6 +1618,11 @@ FrontendDebugCallback(
>                   &Frontend->DebugInterface,
>                   "State: %s\n",
>                   __XenvbdStateName(Frontend->State));
> +    XENBUS_DEBUG(Printf,
> +                 &Frontend->DebugInterface,
> +                 "Queues: u / %u\n",
> +                 __FrontendGetNumQueues(Frontend),
> +                 __FrontendGetMaxQueues(Frontend));
> 
>      XENBUS_DEBUG(Printf,
>                   &Frontend->DebugInterface,
> --
> 2.16.2.windows.1
> 
> 
> _______________________________________________
> win-pv-devel mailing list
> win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/mailman/listinfo/win-pv-devel
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.