[Libguestfs] [libnbd PATCH v2 0/8] Another attempt at working towards zero-copy python aio_pread

Eric Blake eblake at redhat.com
Tue Jun 7 02:08:25 UTC 2022


Still more patches to come, but this fixes the heap leak I pointed out
this morning, and rebases my previous patches on top of that cleanup.

Eric Blake (8):
  python: Improve doc comments for nbd.py
  python: Plug uninit leak in nbd.Buffer.to_bytearray
  python: Enhance tests of nbd.Buffer
  python: Reformat generated methods.c in a few places
  python: Make py_aio_buffer a private struct
  python: Don't unwrap nbd.Buffer in nbd.py
  python: Simplify python generator
  python: Make nbd.Buffer lighter-weight

 generator/Python.ml         | 336 +++++++++++++++++-------------------
 python/handle.c             | 214 ++++++-----------------
 python/t/500-aio-pread.py   |  83 ++++++++-
 python/t/510-aio-pwrite.py  |  19 +-
 python/t/580-aio-is-zero.py |   7 +
 python/utils.c              |  20 ++-
 6 files changed, 336 insertions(+), 343 deletions(-)

-- 
2.36.1



More information about the Libguestfs mailing list