[acassen/keepalived] 4f22df: Don't recompile libipvs-2.6/*.c every build

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <56dec58091730_3a1e3fcf6bff72b81954e7@hookshot-fe6-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 4f22df887fbf0787396bb8de5356af79e4280971
      https://github.com/acassen/keepalived/commit/4f22df887fbf0787396bb8de5356af79e4280971
  Author: Quentin Armitage <[email protected]>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M keepalived/Makefile.in
    M keepalived/libipvs-2.6/Makefile.in

  Log Message:
  -----------
  Don't recompile libipvs-2.6/*.c every build

It really makes compiling and linking for a single change quite slow
on my 700MHz single core RaspberryPi.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: f23ab52715d37204b388bc9dfc7c3816507ab5c4
      https://github.com/acassen/keepalived/commit/f23ab52715d37204b388bc9dfc7c3816507ab5c4
  Author: Quentin Armitage <[email protected]>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M keepalived/include/vrrp_iprule.h
    M keepalived/include/vrrp_netlink.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_iprule.c
    M keepalived/vrrp/vrrp_netlink.c

  Log Message:
  -----------
  Remove left over ip rules and routes at startup

Issue #246 identified that extra entries were added to ip rules
list after each SIGHUP. The patch clears any rules left over from
a previous instance of keepalived at startup.

wienczny has confirmed that this patch resolves his issue.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 8894a6dd8ee3f5805cb723b9d79d93adf2ebca47
      https://github.com/acassen/keepalived/commit/8894a6dd8ee3f5805cb723b9d79d93adf2ebca47
  Author: Quentin Armitage <[email protected]>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_iproute.c
    M keepalived/vrrp/vrrp_scheduler.c

  Log Message:
  -----------
  Ensure ip routes added before rules, and vice versa

If ip rules are added before routes, then it is possible for a
packet to be routed while the routing table is only partially
complete. Adding the rule after the routes ensures that the routing
table won't be processed until it is completely set up.

Likewise, when removing rules and routes, remove the rules first.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 762a24b1eef0457a5456931514403cf137d4c1c2
      https://github.com/acassen/keepalived/commit/762a24b1eef0457a5456931514403cf137d4c1c2
  Author: Alexandre Cassen <[email protected]>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M keepalived/Makefile.in
    M keepalived/include/vrrp_iprule.h
    M keepalived/include/vrrp_netlink.h
    M keepalived/libipvs-2.6/Makefile.in
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_iproute.c
    M keepalived/vrrp/vrrp_iprule.c
    M keepalived/vrrp/vrrp_netlink.c
    M keepalived/vrrp/vrrp_scheduler.c

  Log Message:
  -----------
  Merge pull request #268 from pqarmitage/fixes

Optimise build process and resolve issue #246


Compare: https://github.com/acassen/keepalived/compare/9896eed60144...762a24b1eef0

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.