1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/python
Tony Asleson 1a005b40a4 python-lvm: Add call to close/re-open C lib.
As the library handle has a dm pool associated with
it for long running processes it is required to close and
re-open the library to free the dm pool.  Call added so
python clients can reclaim memory, lvm.gc().

Note: Any python objects on the heap become invalid at the
time this call is made.  If referenced, a seg. fault could
occur.  No simple way to make this safe with the current
memory management in the C library.  Use with caution!

Signed-off-by: Tony Asleson <tasleson@redhat.com>
2013-07-18 16:03:29 -05:00
..
example.py python-lvm: Update example to work with lvm object removal. 2012-10-15 14:11:10 -07:00
liblvm.c python-lvm: Add call to close/re-open C lib. 2013-07-18 16:03:29 -05:00
Makefile.in python: Add bindings for liblvm2app. 2012-10-12 02:08:47 +01:00
setup.py.in python: Add bindings for liblvm2app. 2012-10-12 02:08:47 +01:00