[fabbione/kronosnet] 3e9627: [handle] implement open knet_handle tracker

GitHub noreply at github.com
Mon Aug 21 17:19:34 CEST 2017


  Branch: refs/heads/dlopen
  Home:   https://github.com/fabbione/kronosnet
  Commit: 3e9627630e2c570541dd2a3ae0b8de019fd38fe7
      https://github.com/fabbione/kronosnet/commit/3e9627630e2c570541dd2a3ae0b8de019fd38fe7
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/handle.c
    M libknet/internals.h
    M libknet/tests/api-check.mk

  Log Message:
  -----------
  [handle] implement open knet_handle tracker

limit the number of open knet_handle to UINT8_MAX for now.

UINT8_MAX requires approx 20GB of RAM only for init and more
than 1024 fds (tune your ulimit as necessary) without taking
into account fds required for links

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 45e0e0fe414d605d61c3c0a6a31dcd2869e48183
      https://github.com/fabbione/kronosnet/commit/45e0e0fe414d605d61c3c0a6a31dcd2869e48183
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/tests/Makefile.am
    M libknet/tests/api-check.mk

  Log Message:
  -----------
  [test] don't run api_knet_handle_new_limit by default

it takes more than 20GB of ram and special ulimit settings.

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 7559d9932374305790582e29532c59177e75feee
      https://github.com/fabbione/kronosnet/commit/7559d9932374305790582e29532c59177e75feee
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/compress.c
    M libknet/compress.h
    M libknet/compress_lzo2.c
    M libknet/compress_lzo2.h
    M libknet/handle.c

  Log Message:
  -----------
  [compress] only initialize compress library on demand

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 1cf97533f221f21745d903ad542311666f2cee8a
      https://github.com/fabbione/kronosnet/commit/1cf97533f221f21745d903ad542311666f2cee8a
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    A libknet/tests/api_knet_handle_new_limit.c

  Log Message:
  -----------
  [test] add the test file

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 86e53c7274cde94850592ff03c333e9ef956d9b2
      https://github.com/fabbione/kronosnet/commit/86e53c7274cde94850592ff03c333e9ef956d9b2
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M configure.ac
    M libknet/Makefile.am
    M libknet/compress.c
    M libknet/compress.h
    M libknet/compress_lzo2.c
    M libknet/compress_lzo2.h
    M libknet/handle.c

  Log Message:
  -----------
  [compression] move lzo2 to dlopen model and fix internal api

this commit breaks all other compression modules for now

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 564b305cd665eae37bd78fe055be0bea8c092485
      https://github.com/fabbione/kronosnet/commit/564b305cd665eae37bd78fe055be0bea8c092485
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/compress_lzo2.c

  Log Message:
  -----------
  [compression] simplify lzo2 dlopen code handling

code is still broken when using multiple knet_handle

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 3e62994396ae1fdd22f30c95c0188fefd0879f3b
      https://github.com/fabbione/kronosnet/commit/3e62994396ae1fdd22f30c95c0188fefd0879f3b
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/compress.c
    M libknet/compress.h
    M libknet/compress_lzo2.c
    M libknet/compress_lzo2.h

  Log Message:
  -----------
  [compress] fix library init to work for multiple knet_handle

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: c7f68cb44c650c20c59b69966a4b73c49f53a61b
      https://github.com/fabbione/kronosnet/commit/c7f68cb44c650c20c59b69966a4b73c49f53a61b
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/Makefile.am
    M libknet/compress.c
    M libknet/compress_zlib.c
    M libknet/compress_zlib.h

  Log Message:
  -----------
  [compress] move zlib to dlopen model

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 967d2b371b0659a64a8f51b757320d14f63d627d
      https://github.com/fabbione/kronosnet/commit/967d2b371b0659a64a8f51b757320d14f63d627d
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/compress_lzo2.c
    M libknet/compress_zlib.c

  Log Message:
  -----------
  [compress] make sure lib handles are clean after dlclose

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: eb141476e19aeace80fe6d351a5a0bdf3c1e501e
      https://github.com/fabbione/kronosnet/commit/eb141476e19aeace80fe6d351a5a0bdf3c1e501e
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/Makefile.am
    M libknet/compress.c
    M libknet/compress_lz4.c
    M libknet/compress_lz4.h

  Log Message:
  -----------
  [compress] move lz4 to dlopen model

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 2f4959714f7337db779724d65c371ca2ed331b13
      https://github.com/fabbione/kronosnet/commit/2f4959714f7337db779724d65c371ca2ed331b13
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/Makefile.am
    M libknet/compress.c
    M libknet/compress_lzma.c
    M libknet/compress_lzma.h

  Log Message:
  -----------
  [compress] move lzma to dlopen model

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 19792cb798d3dd79d93129bfe1a1cf4055f9c850
      https://github.com/fabbione/kronosnet/commit/19792cb798d3dd79d93129bfe1a1cf4055f9c850
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/compress_lz4.c
    M libknet/compress_zlib.c

  Log Message:
  -----------
  [compress] cosmetic cleanup

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 59c9bb3f3465721db03901619426253fa3661e62
      https://github.com/fabbione/kronosnet/commit/59c9bb3f3465721db03901619426253fa3661e62
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/compress_lzo2.c

  Log Message:
  -----------
  [compress] cosmetic cleanup... (part 2)

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 1bf2fb659b417abde2c2669662ef76ce653cebd1
      https://github.com/fabbione/kronosnet/commit/1bf2fb659b417abde2c2669662ef76ce653cebd1
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/compress_lzma.c

  Log Message:
  -----------
  [compress] cleanup dlerror before dlopen for lzma

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 194aa000599f32647e5d0388c8cfa28a93cb93d9
      https://github.com/fabbione/kronosnet/commit/194aa000599f32647e5d0388c8cfa28a93cb93d9
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M libknet/Makefile.am
    M libknet/compress.c
    M libknet/compress_bzip2.c
    M libknet/compress_bzip2.h

  Log Message:
  -----------
  [compress] move bzip2 to dlopen model

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: f12ea7e6cfcb5ad56c1e7ad2e68f3e350c4fb4d7
      https://github.com/fabbione/kronosnet/commit/f12ea7e6cfcb5ad56c1e7ad2e68f3e350c4fb4d7
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M configure.ac
    M libknet/Makefile.am
    M libtap/Makefile.am

  Log Message:
  -----------
  [build] move hardcoding of linking libraries in one place and enforce better check

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


Compare: https://github.com/fabbione/kronosnet/compare/5699474e630d...f12ea7e6cfcb


More information about the Commits mailing list