The first 2 patches add --request-size option, to allow tuning nbdcopy for
particular environment. Testing in our scale lab shows significant improvement
using smaller request size.
The last patch adds example for integrating libnbd with libev event loop,
similar to the glib main loop example. It is not related but it was useful to
test it with --request-size.
Nir Soffer (3):
copy: Allocate required size instead of maximum
copy: Add --request-size option
examples: Add example for integrating with libev
.gitignore | 1 +
configure.ac | 19 +++
copy/main.c | 18 +++
copy/multi-thread-copying.c | 12 +-
copy/nbdcopy.h | 2 +
copy/nbdcopy.pod | 7 +-
copy/synch-copying.c | 17 +-
examples/Makefile.am | 22 +++
examples/copy-libev.c | 304 ++++++++++++++++++++++++++++++++++++
9 files changed, 391 insertions(+), 11 deletions(-)
create mode 100644 examples/copy-libev.c
--
2.26.2