search for: dac47ad

Displaying 4 results from an estimated 4 matches for "dac47ad".

Did you mean: 8cc47ad
2019 Jan 04
0
[PATCH nbdkit] common/include: Add generic MIN and MAX macros.
...t;blk.h" #include "lru.h" -#define MAX(a, b) ((a) > (b) ? (a) : (b)) - /* LRU bitmaps. These bitmaps implement a simple, fast LRU structure. * * bm[0] bm[1] blocks not in either bitmap diff --git a/filters/nozero/nozero.c b/filters/nozero/nozero.c index dac47ad..6a22f9b 100644 --- a/filters/nozero/nozero.c +++ b/filters/nozero/nozero.c @@ -42,9 +42,10 @@ #include <nbdkit-filter.h> +#include "minmax.h" + #define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL -#define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX_WRITE (64 * 1024 * 10...
2019 Jan 04
0
[PATCH nbdkit v5 2/3] common/include: Add generic MIN and MAX macros.
...t;blk.h" #include "lru.h" -#define MAX(a, b) ((a) > (b) ? (a) : (b)) - /* LRU bitmaps. These bitmaps implement a simple, fast LRU structure. * * bm[0] bm[1] blocks not in either bitmap diff --git a/filters/nozero/nozero.c b/filters/nozero/nozero.c index dac47ad..6a22f9b 100644 --- a/filters/nozero/nozero.c +++ b/filters/nozero/nozero.c @@ -42,9 +42,10 @@ #include <nbdkit-filter.h> +#include "minmax.h" + #define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL -#define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX_WRITE (64 * 1024 * 10...
2019 Jan 04
5
[PATCH nbdkit v5 3/3] cache: Implement cache-max-size and cache space reclaim.
v4: https://www.redhat.com/archives/libguestfs/2019-January/msg00032.html v5: - Now we set the block size at run time. I'd like to say that I was able to test this change, but unfortunately I couldn't find any easy way to create a filesystem on x86-64 with a block size > 4K. Ext4 doesn't support it at all, and XFS doesn't support block size > page size (and I
2018 Mar 08
19
[nbdkit PATCH v3 00/15] Add FUA support to nbdkit
After more than a month since v2 [1], I've finally got my FUA support series polished. This is all of my outstanding patches, even though some of them were originally posted in separate threads from the original FUA post [2], [3] [1] https://www.redhat.com/archives/libguestfs/2018-January/msg00113.html [2] https://www.redhat.com/archives/libguestfs/2018-January/msg00219.html [3]