LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: ovf scheduler

To: Raducu Deaconu <rhadoo.io88@xxxxxxxxx>
Subject: Re: ovf scheduler
Cc: lvs-devel@xxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 16 Jul 2015 21:27:21 +0300 (EEST)
        Hello,

On Thu, 16 Jul 2015, Raducu Deaconu wrote:

> Hello,
> 
> I have readjusted the patch, sorry for the code style issues, this is
> my first attempt at a contribution.

        No worries. But one new problem...

> +               if (h) {
> +                       IP_VS_DBG_BUF(6, "OVF: server %s:%u active %d w %d\n",
> +                                     IP_VS_DBG_ADDR(svc->af, &h->addr),

        Indentation of this 'if' block should be fixed.
It was correct in first patch. Also, change svc->af to
h->af in above line.

> +                                     ntohs(h->port),
> +                                     atomic_read(&h->activeconns),
> +                                     atomic_read(&h->weight));
> +               return h;
> +               }

Regards

--
Julian Anastasov <ja@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>