[Libguestfs] [libnbd PATCH 0/5] python: Optimize aio_p{read, write}

Eric Blake eblake at redhat.com
Fri Jun 3 22:26:30 UTC 2022


I didn't get to integrate this with my h.{aio_}pread_structured copy
reductions, but I'm liking how this one turned out.

Eric Blake (5):
  python: Avoid memleak on (unlikely) module failure
  python: Don't unwrap nbd.Buffer in nbd.py
  python: Simplify python generator
  python: Make nbd.Buffer lighter-weight
  python: Accept all buffer-like objects in aio_p{read,write}

 generator/Python.ml | 113 +++++++++++++-------------
 python/handle.c     | 192 +++++++++-----------------------------------
 python/utils.c      |  20 ++++-
 3 files changed, 110 insertions(+), 215 deletions(-)

-- 
2.36.1



More information about the Libguestfs mailing list