search for: xz_thread_model

Displaying 7 results from an estimated 7 matches for "xz_thread_model".

Did you mean: _thread_model
2020 Aug 27
0
[nbdkit PATCH 1/2] filters: Add .export_description wrappers
...of xz-compressed image: %s", base); + return nbdkit_strdup_intern (desc); + } + return "expansion of xz-compressed image"; +} + /* Get the file size. */ static int64_t xz_get_size (struct nbdkit_next_ops *next_ops, void *nxdata, void *handle) @@ -245,19 +261,20 @@ static int xz_thread_model (void) } static struct nbdkit_filter filter = { - .name = "xz", - .longname = "nbdkit XZ filter", - .config = xz_config, - .config_help = xz_config_help, - .thread_model = xz_thread_model, - .open = xz_open, - .c...
2020 Sep 01
1
Re: [nbdkit PATCH 1/2] filters: Add .export_description wrappers
...; + return nbdkit_strdup_intern (desc); > + } > + return "expansion of xz-compressed image"; > +} > + > /* Get the file size. */ > static int64_t > xz_get_size (struct nbdkit_next_ops *next_ops, void *nxdata, void *handle) > @@ -245,19 +261,20 @@ static int xz_thread_model (void) > } > > static struct nbdkit_filter filter = { > - .name = "xz", > - .longname = "nbdkit XZ filter", > - .config = xz_config, > - .config_help = xz_config_help, > - .thread_model = xz_thread_model...
2020 Aug 27
4
[nbdkit PATCH 0/2] ext2 export list tweaks
Applies on top of my pending series for the exportname filter, addressing one of the todo's in that cover letter. Eric Blake (2): filters: Add .export_description wrappers ext2: Supply .list_exports and .default_export filters/ext2/nbdkit-ext2-filter.pod | 3 +- tests/Makefile.am | 16 +++- filters/ext2/ext2.c | 125 +++++++++++++++++++---------
2019 May 17
0
[nbdkit PATCH 3/3] filters: Use only .thread_model, not THREAD_MODEL
...down = 0; diff --git a/filters/xz/xz.c b/filters/xz/xz.c index 8ada294..51ac919 100644 --- a/filters/xz/xz.c +++ b/filters/xz/xz.c @@ -246,7 +246,10 @@ xz_pread (struct nbdkit_next_ops *next_ops, void *nxdata, return 0; } -#define THREAD_MODEL NBDKIT_THREAD_MODEL_SERIALIZE_REQUESTS +static int xz_thread_model (void) +{ + return NBDKIT_THREAD_MODEL_SERIALIZE_REQUESTS; +} static struct nbdkit_filter filter = { .name = "xz", @@ -254,6 +257,7 @@ static struct nbdkit_filter filter = { .version = PACKAGE_VERSION, .config = xz_config, .config_help...
2019 Aug 30
1
[nbdkit PATCH v2] filters: Stronger version match requirements
...= PACKAGE_VERSION, .config = truncate_config, .config_help = truncate_config_help, .open = truncate_open, diff --git a/filters/xz/xz.c b/filters/xz/xz.c index 51ac919f..78351859 100644 --- a/filters/xz/xz.c +++ b/filters/xz/xz.c @@ -254,7 +254,6 @@ static int xz_thread_model (void) static struct nbdkit_filter filter = { .name = "xz", .longname = "nbdkit XZ filter", - .version = PACKAGE_VERSION, .config = xz_config, .config_help = xz_config_help, .thread_model = xz_thread_model, d...
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
2020 Sep 21
18
[nbdkit PATCH v3 00/14] exportname filter
It's been several weeks since I posted v2 (I got distracted by improving libnbd to better test things, which in turn surfaced some major memory leak problems in nbdsh that are now fixed). Many of the patches are minor rebases from v2, with the biggest changes being fallout from: - patch 2: rename nbdkit_add_default_export to nbdkit_use_default_export - overall: this missed 1.22, so update