[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libguestfs] [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK
From: |
Richard W.M. Jones |
Subject: |
Re: [Libguestfs] [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length |
Date: |
Fri, 8 Apr 2022 13:09:29 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Apr 08, 2022 at 12:52:44PM +0100, Richard W.M. Jones wrote:
> From experimentation I found this really hurts my laptop :-(
... because of a memory leak in the nbdkit Python bindings as it
turned out. This function:
> def extents(h, count, offset, flags):
> e = [(i, 1, typ(i)) for i in range(offset, offset + count + 1)]
> return e
returns tuples which never got dereferenced in the C part.
Fixed in:
https://gitlab.com/nbdkit/nbdkit/-/commit/4ede3d7b0778cc1fe661307d2289fadfc18a1af2
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
nbdkit - Flexible, fast NBD server with plugins
https://gitlab.com/nbdkit/nbdkit
- [PATCH 0/2] More NBD spec prep-work before 64-bit headers, Eric Blake, 2022/04/07
- [PATCH 2/2] spec: Tweak description of maximum block size, Eric Blake, 2022/04/07
- [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length, Eric Blake, 2022/04/07
- Re: [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length, Vladimir Sementsov-Ogievskiy, 2022/04/07
- Re: [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length, Wouter Verhelst, 2022/04/08
- Re: [Libguestfs] [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length, Richard W.M. Jones, 2022/04/08
- Re: [Libguestfs] [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length,
Richard W.M. Jones <=
- Re: [Libguestfs] [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length, Nir Soffer, 2022/04/08
- Re: [Libguestfs] [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length, Richard W.M. Jones, 2022/04/08
- Re: [Libguestfs] [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length, Eric Blake, 2022/04/08
- Re: [Libguestfs] [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length, Nir Soffer, 2022/04/08
- Re: [Libguestfs] [PATCH 1/2] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length, Richard W.M. Jones, 2022/04/08