search for: 5c3ae2e

Displaying 6 results from an estimated 6 matches for "5c3ae2e".

2018 Dec 01
0
[PATCH nbdkit] common: Move shared bitmap code to a common library.
...a, blknum, block, 0, + errors ? &tmp : err) == -1) { + nbdkit_error ("cache: flush of block %" PRIu64 " failed", blknum); + errors++; + } } } diff --git a/filters/cow/Makefile.am b/filters/cow/Makefile.am index c81b41c..5c3ae2e 100644 --- a/filters/cow/Makefile.am +++ b/filters/cow/Makefile.am @@ -42,11 +42,14 @@ nbdkit_cow_filter_la_SOURCES = \ nbdkit_cow_filter_la_CPPFLAGS = \ -I$(top_srcdir)/include \ + -I$(top_srcdir)/common/bitmap \ -I$(top_srcdir)/common/include nbdkit_cow_filter_la_CFLAGS = \ $(WARNINGS_C...
2018 Dec 02
0
[PATCH nbdkit v2] common: Move shared bitmap code to a common library.
...a, blknum, block, 0, + errors ? &tmp : err) == -1) { + nbdkit_error ("cache: flush of block %" PRIu64 " failed", blknum); + errors++; + } } } diff --git a/filters/cow/Makefile.am b/filters/cow/Makefile.am index c81b41c..5c3ae2e 100644 --- a/filters/cow/Makefile.am +++ b/filters/cow/Makefile.am @@ -42,11 +42,14 @@ nbdkit_cow_filter_la_SOURCES = \ nbdkit_cow_filter_la_CPPFLAGS = \ -I$(top_srcdir)/include \ + -I$(top_srcdir)/common/bitmap \ -I$(top_srcdir)/common/include nbdkit_cow_filter_la_CFLAGS = \ $(WARNINGS_C...
2018 Dec 03
0
[PATCH nbdkit v3] common: Move shared bitmap code to a common library.
...nbdkit_cache_filter_la_CFLAGS = \ $(WARNINGS_CFLAGS) nbdkit_cache_filter_la_LDFLAGS = \ -module -avoid-version -shared +nbdkit_cache_filter_la_LIBADD = \ + $(top_builddir)/common/bitmap/libbitmap.la if HAVE_POD diff --git a/filters/cow/Makefile.am b/filters/cow/Makefile.am index c81b41c..5c3ae2e 100644 --- a/filters/cow/Makefile.am +++ b/filters/cow/Makefile.am @@ -42,11 +42,14 @@ nbdkit_cow_filter_la_SOURCES = \ nbdkit_cow_filter_la_CPPFLAGS = \ -I$(top_srcdir)/include \ + -I$(top_srcdir)/common/bitmap \ -I$(top_srcdir)/common/include nbdkit_cow_filter_la_CFLAGS = \ $(WARNINGS_C...
2018 Dec 01
2
[PATCH nbdkit] common: Move shared bitmap code to a common library.
I have some patches I'm working on to fix the cache filter. However this is a prelude. It should be simply pure refactoring. All tests pass still. Rich.
2018 Dec 03
3
[PATCH nbdkit v3] common: Move shared bitmap code to a common library.
v2: https://www.redhat.com/archives/libguestfs/2018-December/msg00039.html v2 -> v3: - Fix all the issues raised in Eric's review. - Precompute some numbers to make the calculations easier. - Calculations now use bitshifts and masks in preference to division and modulo. - Clear existing bits before setting (which fixes a bug in the cache filter). Rich.
2018 Dec 02
2
[PATCH nbdkit v2] common: Move shared bitmap code to a common library.
This is exactly the same as v1: https://www.redhat.com/archives/libguestfs/2018-December/msg00004.html except that it now frees the bitmap on unload (which the old code did not - there was always a memory leak). Rich.