Since v1: add the blocksize filter, add testsuite coverage of the
log filter, several fixes to the log filter based on what adding
tests revealed
I'm still working on FUA flag support patches on top of this;
the patches should all be committed in the same release, as we
want to minimize the number of releases that cause a filter
ABI/API bump
Eric Blake (3):
backend: Rework internal/filter error return semantics
filters: Add log filter
filters: Add blocksize filter
TODO | 7 -
docs/nbdkit-filter.pod | 85 +++++-
docs/nbdkit.pod | 2 +
filters/blocksize/nbdkit-blocksize-filter.pod | 141 ++++++++++
filters/log/nbdkit-log-filter.pod | 115 ++++++++
configure.ac | 4 +-
src/internal.h | 1 -
src/connections.c | 45 +--
src/filters.c | 81 ++++--
src/plugins.c | 66 +++--
filters/blocksize/blocksize.c | 379 ++++++++++++++++++++++++++
filters/cache/cache.c | 49 ++--
filters/cow/cow.c | 28 +-
filters/log/log.c | 362 ++++++++++++++++++++++++
filters/partition/partition.c | 2 +-
filters/Makefile.am | 2 +
filters/blocksize/Makefile.am | 62 +++++
filters/log/Makefile.am | 62 +++++
tests/Makefile.am | 8 +
tests/test-blocksize.sh | 152 +++++++++++
tests/test-log.sh | 88 ++++++
21 files changed, 1599 insertions(+), 142 deletions(-)
create mode 100644 filters/blocksize/nbdkit-blocksize-filter.pod
create mode 100644 filters/log/nbdkit-log-filter.pod
create mode 100644 filters/blocksize/blocksize.c
create mode 100644 filters/log/log.c
create mode 100644 filters/blocksize/Makefile.am
create mode 100644 filters/log/Makefile.am
create mode 100755 tests/test-blocksize.sh
create mode 100755 tests/test-log.sh
--
2.14.3