[PATCH RFC 0/4]] nwfilter: don't reinstantiate filters if they are not changed

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

 



The series adds optimization in network filters instantiation as suggested
in [1]. Applied on top of [2].

However this approach has drawback I'm unfortunately discovered too late)
Next steps will left us with no network filters after this series applied:

systemctl stop libvirtd
systemctl restart firewalld
systemctl start libvirtd

In case of system update libvirt binaries ctime will change and filters will be
reinstalled.

[1] https://www.redhat.com/archives/libvir-list/2018-October/msg00657.html
[2] https://www.redhat.com/archives/libvir-list/2018-October/msg00787.html

Nikolay Shirokovskiy (4):
  nwfilter: add nwfilter hash
  nwfilter: don't reinstantiate filters if they are not changed
  nwfilter: force filters reinstantiation on firewalld reload
  nwfilter: force filters reinstantiation on binary update

 src/conf/virnwfilterbindingobj.c       |  40 +++++++++
 src/conf/virnwfilterbindingobj.h       |  10 +++
 src/conf/virnwfilterobj.c              | 145 +++++++++++++++++++++++++++++++++
 src/conf/virnwfilterobj.h              |   9 ++
 src/libvirt_private.syms               |   6 ++
 src/nwfilter/nwfilter_driver.c         |  11 ++-
 src/nwfilter/nwfilter_gentech_driver.c |  67 +++++++++++++--
 src/nwfilter/nwfilter_gentech_driver.h |   6 +-
 8 files changed, 283 insertions(+), 11 deletions(-)

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux