[PATCH RFC v3] ipvs: add genetlink cmd to dump all services and destinations

2020-11-10 Thread Cezar Sa Espinola
also possible to dump a single service and its destinations by sending a IPVS_CMD_ATTR_SERVICE argument to the dump command. Signed-off-by: Cezar Sa Espinola --- Changes in v2: - Send destinations nested in a service. Changes in v3: - Avoid tab lookups at EOF and other requested changes. include

[PATCH RFC v2] ipvs: add genetlink cmd to dump all services and destinations

2020-11-06 Thread Cezar Sa Espinola
also possible to dump a single service and its destinations by sending a IPVS_CMD_ATTR_SERVICE argument to the dump command. Signed-off-by: Cezar Sa Espinola --- Changes in v2: - Send destinations nested in a service. This patch should be safer now as every packet starts with a service message.

Re: [PATCH RFC] ipvs: add genetlink cmd to dump all services and destinations

2020-11-03 Thread Cezar Sá Espinola
is not our > problem. What can happen is that we can send duplicates > or to skip entries (both svcs and dests). It is impossible > to keep any kind of references to current entries or even > keys to lookup them if another agent can remove them. Got it. I noticed this behavior while writing this patch and even created a few crude validation scripts running parallel agents and checking the diff in [1]. [1] - https://github.com/cezarsa/ipvsadm-validate/blob/37ebd39785b1e835c6d4b5c58aaca7be60d5e194/test.sh#L86-L87 Thanks a lot for the review, -- Cezar Sá Espinola

[PATCH RFC] ipvs: add genetlink cmd to dump all services and destinations

2020-10-30 Thread Cezar Sa Espinola
imediatelly followed by its destinations as multiple IPVS_CMD_NEW_DEST messages. It's also possible to dump a single service and its destinations by sending a IPVS_CMD_ATTR_SERVICE argument to the dump command. Signed-off-by: Cezar Sa Espinola --- To ensure that this patch improves performa

SOLUÇÕES GRÁFICAS

2006-02-24 Thread cezar
SOLUÇÕES GRÁFICAS