search for: fe07d28

Displaying 3 results from an estimated 3 matches for "fe07d28".

2019 May 17
0
[nbdkit PATCH 3/3] filters: Use only .thread_model, not THREAD_MODEL
...ers/nozero/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/fil...
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
2019 May 16
27
[nbdkit PATCH v2 00/24] implement NBD_CMD_CACHE
Since v1: - rework .can_cache to be tri-state, with default of no advertisement (ripple effect through other patches) - add a lot more patches in order to round out filter support And in the meantime, Rich pushed NBD_CMD_CACHE support into libnbd, so in theory we now have a way to test cache commands through the entire stack. Eric Blake (24): server: Internal hooks for implementing