Displaying 3 results from an estimated 3 matches for "67f06d6".
Did you mean:
670656
2018 Aug 01
0
[PATCH v2 nbdkit 1/6] filters: Call all .prepare and .finalize methods, not just the first one.
...ture, so we
must do that work in src/filters.c.
This fixes the behaviour of filters when you layer multiple filters in
front of a plugin.
---
src/filters.c | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/src/filters.c b/src/filters.c
index 18948bc..67f06d6 100644
--- a/src/filters.c
+++ b/src/filters.c
@@ -367,10 +367,17 @@ filter_prepare (struct backend *b, struct connection *conn)
debug ("prepare");
- if (f->filter.prepare)
- return f->filter.prepare (&next_ops, &nxdata, handle);
- else
- return f->backend....
2018 Aug 01
0
[PATCH v2 nbdkit 2/6] filters: Fix filter.plugin_name method so it returns the name of the plugin.
This function was completely bogus, the effect being that the
threadlocal name was always set to the name of the second filter.
Also fixes an adjacent comment.
---
src/filters.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/filters.c b/src/filters.c
index 67f06d6..b68afab 100644
--- a/src/filters.c
+++ b/src/filters.c
@@ -103,15 +103,15 @@ filter_thread_model (struct backend *b)
return thread_model;
}
-/* These are actually passing through to the final plugin, hence
- * the function names.
+/* This is actually passing the request through to the final...
2018 Aug 01
12
[PATCH v2 nbdkit 0/6] Add truncate filter and other fixes.
I have dropped the map filter from this series for now while I try to
get it working.
However I think the truncate filter is in a good shape. This
incorporates all feedback from Eric's review.
Also there are three small fixes to the filter code, all revealed when
I was testing using multiple filters which we'd not done much of
before.
Rich.