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

Eric Blake eblake at redhat.com
Thu Feb 24 15:36:46 UTC 2022


In v2:
- add debug statements at end of .config_complete, .prepare, .block_size
- formatting cleanups
- split old patch 1 into two patches: first, a mechanical rename into
  per-handle state with globals changed to config_*, second the
  deferral of setting defaults until .prepare
- in patch 2, rename test-blocksize-wrap.sh to
  test-blocksize-default.sh, and actually test two different exports
  from one server

Eric Blake (3):
  blocksize: Refactor to per-handle constraints
  blocksize: Defer per-handle initialization to .prepare
  blocksize: Default internal block size based on plugin

 filters/blocksize/nbdkit-blocksize-filter.pod |  14 +-
 tests/Makefile.am                             |  14 +-
 filters/blocksize/blocksize.c                 | 201 ++++++++++++------
 tests/test-blocksize-default.sh               |  88 ++++++++
 tests/test-blocksize.sh                       |   3 -
 5 files changed, 246 insertions(+), 74 deletions(-)
 create mode 100755 tests/test-blocksize-default.sh

-- 
2.35.1




More information about the Libguestfs mailing list