LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH net 3/4] ipvs: make the service replacement more robust

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [PATCH net 3/4] ipvs: make the service replacement more robust
Cc: lvs-devel@xxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Tue, 10 Sep 2013 22:28:13 +0300 (EEST)
        Hello,

On Wed, 28 Aug 2013, Julian Anastasov wrote:

> -     /* Some dest can be in grace period even before cleanup, we have to
> -      * defer ip_vs_trash_cleanup until ip_vs_dest_wait_readers is called.
> -      */
> -     rcu_barrier();
>       ip_vs_trash_cleanup(net);
>       ip_vs_stop_estimator(net, &ipvs->tot_stats);
>       ip_vs_control_net_cleanup_sysctl(net);

        Simon, I have to update this patch. rcu_barrier
can not simply disappear because LBLC[R] use RCU callbacks
and we have to wait them to put the final reference to dest
before calling ip_vs_trash_cleanup(). It needs different
solution, if possible without rcu_barrier. I'll send updated
patchset in next days.

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>