Displaying 2 results from an estimated 2 matches for "efe5c6d".
2019 May 17
0
[nbdkit PATCH 3/3] filters: Use only .thread_model, not THREAD_MODEL
...o/nozero.c
+++ b/filters/nozero/nozero.c
@@ -43,8 +43,6 @@
#include "minmax.h"
-#define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL
-
#define MAX_WRITE (64 * 1024 * 1024)
static const char buffer[MAX_WRITE];
diff --git a/filters/offset/offset.c b/filters/offset/offset.c
index fe07d28..efe5c6d 100644
--- a/filters/offset/offset.c
+++ b/filters/offset/offset.c
@@ -41,8 +41,6 @@
#include "cleanup.h"
-#define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL
-
static int64_t offset = 0, range = -1;
/* Called for each key=value passed on the command line. */
diff --git a/filters/part...
2019 May 17
4
[nbdkit PATCH 0/3] Add noparallel filter
Being able to programmatically force nbdkit to be less parallel can be
useful during testing. I was less sure about patch 3, but if you like
it, I'm inclined to instead squash it into patch 1. This patch is
written to apply after my NBD_CMD_CACHE work (since I touched the
nocache filter); but can be rearranged if we think this series should
go in first while that one undergoes any adjustments