search for: 02a2522

Displaying 3 results from an estimated 3 matches for "02a2522".

Did you mean: 022529
2019 Apr 23
0
[nbdkit PATCH 3/4] filters: Utilize ACQUIRE_LOCK_FOR_CURRENT_SCOPE
...t; --- filters/log/log.c | 10 ++++------ filters/readahead/readahead.c | 15 +++++---------- filters/log/Makefile.am | 5 ++++- filters/readahead/Makefile.am | 5 ++++- 4 files changed, 17 insertions(+), 18 deletions(-) diff --git a/filters/log/log.c b/filters/log/log.c index 02a2522..513d390 100644 --- a/filters/log/log.c +++ b/filters/log/log.c @@ -45,6 +45,8 @@ #include <nbdkit-filter.h> +#include "cleanup.h" + #define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL static uint64_t connections; @@ -114,12 +116,8 @@ struct handle { static uint64_t get_id (st...
2019 Apr 01
2
[PATCH nbdkit] log: Decode the extent type in output.
...}, { offset=0x10000, length=0xf0000, hole=0, zero=0 }] return=0 Updates commit ed868b00f192cd72e91265e4fcdf3c3fbe8b7613. Thanks: Martin Kletzander --- filters/log/log.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/filters/log/log.c b/filters/log/log.c index 4878db2..02a2522 100644 --- a/filters/log/log.c +++ b/filters/log/log.c @@ -382,8 +382,10 @@ log_extents (struct nbdkit_next_ops *next_ops, void *nxdata, if (i > 0) fprintf (fp, ", "); fprintf (fp, "{ offset=0x%" PRIx64 ", length=0x%" PRIx64 ", &quo...
2019 Apr 23
8
[nbdkit PATCH 0/4] Start using cleanup macros in filters/plugins
There's more that can be done (in particular, use of CLEANUP_FREE), but this is enough to at least see if I'm on the right track. I couldn't figure out an obvious difference between common/include and common/utils, but it looks like the former is for things that are inlineable via .h only, while the latter is when you need to link in a convenience library, so this landed in the