search for: 11681c8

Displaying 2 results from an estimated 2 matches for "11681c8".

2019 May 17
0
[nbdkit PATCH 3/3] filters: Use only .thread_model, not THREAD_MODEL
...de "minmax.h" #include "rounding.h" -#define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL - /* In order to handle parallel requests safely, this lock must be held * when calling any blk_* functions. */ diff --git a/filters/delay/delay.c b/filters/delay/delay.c index 486a24e..11681c8 100644 --- a/filters/delay/delay.c +++ b/filters/delay/delay.c @@ -40,8 +40,6 @@ #include <nbdkit-filter.h> -#define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL - static int delay_read_ms = 0; /* read delay (milliseconds) */ static int delay_write_ms = 0; /* write delay (milliseconds) *...
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