Displaying 4 results from an estimated 4 matches for "blkcache_stat".
Did you mean:
blkcache_stats
2019 Jan 02
0
[PATCH nbdkit v2 1/2] Annotate internal function parameters with attribute((nonnull)).
...ock, int *err)
+ __attribute__((__nonnull__ (2, 3)));
/* Flush the overlay to disk. */
extern int blk_flush (void);
diff --git a/filters/xz/blkcache.h b/filters/xz/blkcache.h
index e68f5d1..c86c8e8 100644
--- a/filters/xz/blkcache.h
+++ b/filters/xz/blkcache.h
@@ -42,9 +42,13 @@ typedef struct blkcache_stats {
} blkcache_stats;
extern blkcache *new_blkcache (size_t maxdepth);
-extern void free_blkcache (blkcache *);
-extern char *get_block (blkcache *, uint64_t offset, uint64_t *start, uint64_t *size);
-extern int put_block (blkcache *, uint64_t start, uint64_t size, char *data);
-extern void blkc...
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.
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
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