Displaying 10 results from an estimated 10 matches for "blkcach".
Did you mean:
blkcache
2018 Nov 21
3
[PATCH nbdkit v2 0/3] Rewrite xz plugin as a filter.
v2:
- Fixes a number of bugs in corner cases.
- Uses a 1M block size to fetch from the underlying plugin. This
improves performance considerably.
I also tested this much more thoroughly and can't find any more bugs.
Rich.
2018 Nov 21
5
[PATCH nbdkit 0/2] Rewrite xz plugin as a filter.
Matt asked if xz should really be a filter rather than a plugin. The
answer is yes, of course it should be! That's been something in the
todo file for a while.
The commit converts the xz plugin code into a filter (leaving the
plugin around, but deprecating it).
plugin: nbdkit xz file.xz
filter: nbdkit --filter=xz file file.xz
plugin: # can't be done
filter: nbdkit
2019 Jan 02
0
[PATCH nbdkit v2 1/2] Annotate internal function parameters with attribute((nonnull)).
...+---
common/include/iszero.h | 2 +-
common/include/random.h | 4 +-
common/regions/regions.h | 19 ++++---
common/sparse/sparse.h | 12 +++--
filters/cache/blk.h | 17 ++++--
filters/cow/blk.h | 7 ++-
filters/xz/blkcache.h | 12 +++--
plugins/floppy/virtual-floppy.h | 21 +++++---
plugins/partitioning/efi-crc32.h | 3 +-
plugins/partitioning/virtual-disk.h | 11 ++--
plugins/sh/call.h | 10 ++--
server/internal.h | 81 +++++++++++++++++++++--------
tests/te...
2019 Jan 02
4
[PATCH nbdkit v2 0/2] Use of attribute(()).
v1 was here:
https://www.redhat.com/archives/libguestfs/2019-January/msg00008.html
In v2 I have provided two patches:
The first patch extends attribute((nonnull)) to most internal
functions, but not to the external API.
The second patch uses a macro so that attribute((format)) is only used
in the public API on GCC or Clang. At least in theory these headers
could be used by a C compiler which
2020 Aug 27
0
[nbdkit PATCH 1/2] filters: Add .export_description wrappers
...+ .extents = tar_extents,
+ .cache = tar_cache,
};
NBDKIT_REGISTER_FILTER(filter)
diff --git a/filters/xz/xz.c b/filters/xz/xz.c
index 26cfa959..2aa8c893 100644
--- a/filters/xz/xz.c
+++ b/filters/xz/xz.c
@@ -47,6 +47,7 @@
#include "xzfile.h"
#include "blkcache.h"
+#include "cleanup.h"
static uint64_t maxblock = 512 * 1024 * 1024;
static uint32_t maxdepth = 8;
@@ -156,6 +157,21 @@ xz_prepare (struct nbdkit_next_ops *next_ops, void *nxdata, void *handle,
return 0;
}
+/* Description. */
+static const char *
+xz_export_description (st...
2020 Sep 01
1
Re: [nbdkit PATCH 1/2] filters: Add .export_description wrappers
...= tar_cache,
> };
>
> NBDKIT_REGISTER_FILTER(filter)
> diff --git a/filters/xz/xz.c b/filters/xz/xz.c
> index 26cfa959..2aa8c893 100644
> --- a/filters/xz/xz.c
> +++ b/filters/xz/xz.c
> @@ -47,6 +47,7 @@
>
> #include "xzfile.h"
> #include "blkcache.h"
> +#include "cleanup.h"
>
> static uint64_t maxblock = 512 * 1024 * 1024;
> static uint32_t maxdepth = 8;
> @@ -156,6 +157,21 @@ xz_prepare (struct nbdkit_next_ops *next_ops, void *nxdata, void *handle,
> return 0;
> }
>
> +/* Description. */
&g...
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 Sep 23
2
[PATCH nbdkit v2] server: public: Add nbdkit_parse_* functions for safely parsing integers.
...return -1;
+ if (initial_delay == 0) {
+ nbdkit_error ("retry-delay cannot be 0");
return -1;
}
return 0;
diff --git a/filters/xz/xz.c b/filters/xz/xz.c
index a420d38..4445ce0 100644
--- a/filters/xz/xz.c
+++ b/filters/xz/xz.c
@@ -49,7 +49,7 @@
#include "blkcache.h"
static uint64_t maxblock = 512 * 1024 * 1024;
-static size_t maxdepth = 8;
+static uint32_t maxdepth = 8;
static int
xz_config (nbdkit_next_config *next, void *nxdata,
@@ -63,18 +63,12 @@ xz_config (nbdkit_next_config *next, void *nxdata,
return 0;
}
else if (strcmp (key,...
2019 Sep 23
2
Re: [PATCH nbdkit] server: public: Add nbdkit_parse_* functions for safely parsing integers.
On Mon, Sep 23, 2019 at 12:05:11PM -0500, Eric Blake wrote:
> > + int nbdkit_parse_long (const char *what, const char *str, long *r);
> > + int nbdkit_parse_unsigned_long (const char *what,
> > + const char *str, unsigned long *r);
>
> Do we really want to encourage the use of parse_long and
> parse_unsigned_long? Those differ between
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