[Libguestfs] [nbdkit PATCH 0/2] Saner --filter=blocksize defaults

Eric Blake eblake at redhat.com
Wed Feb 23 15:45:31 UTC 2022


Now that we can learn block size limits of the underlying plugin, we
might as well obey them by default in our blocksize filter.

Eric Blake (2):
  blocksize: Refactor to per-handle constraints
  blocksize: Default internal block size based on plugin

 filters/blocksize/nbdkit-blocksize-filter.pod |  14 +-
 tests/Makefile.am                             |  14 +-
 filters/blocksize/blocksize.c                 | 177 +++++++++++++-----
 tests/test-blocksize-wrap.sh                  |  58 ++++++
 tests/test-blocksize.sh                       |   3 -
 5 files changed, 205 insertions(+), 61 deletions(-)
 create mode 100755 tests/test-blocksize-wrap.sh

-- 
2.35.1




More information about the Libguestfs mailing list