search for: 6ccfc5f

Displaying 4 results from an estimated 4 matches for "6ccfc5f".

2019 Aug 13
1
Re: [PATCH libnbd v2 3/3] api: Add nbd_clear_debug_callback.
...lear/free the debug callback. > --- > generator/generator | 11 +++++++++++ > lib/debug.c | 17 ++++++++++++++--- > lib/handle.c | 4 +--- > 3 files changed, 26 insertions(+), 6 deletions(-) > > diff --git a/generator/generator b/generator/generator > index 6ccfc5f..d76eeea 100755 > --- a/generator/generator > +++ b/generator/generator > @@ -1013,6 +1013,17 @@ a handle then messages are printed on C<stderr>. > > The callback should not call C<nbd_*> APIs on the same handle since it can > be called while holding the handle loc...
2019 Aug 13
7
[PATCH libnbd v2 0/3] Implement OClosures.
v1 was here: https://www.redhat.com/archives/libguestfs/2019-August/msg00168.html I pushed uncontroversial patches 1-4 v2: - The implementation of OClosure (new patch 1) in Python is fixed. - Patch 2 (old patch 5) is unchanged. - I added a new API for removing debug callbacks. I think this approach has some advantages over using OClosure. - I didn't yet do any work on changing the
2019 Aug 13
0
[PATCH libnbd v2 3/3] api: Add nbd_clear_debug_callback.
...API from other places when we want to clear/free the debug callback. --- generator/generator | 11 +++++++++++ lib/debug.c | 17 ++++++++++++++--- lib/handle.c | 4 +--- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/generator/generator b/generator/generator index 6ccfc5f..d76eeea 100755 --- a/generator/generator +++ b/generator/generator @@ -1013,6 +1013,17 @@ a handle then messages are printed on C<stderr>. The callback should not call C<nbd_*> APIs on the same handle since it can be called while holding the handle lock and will cause a deadlock.&q...
2019 Aug 13
0
[PATCH libnbd v2 2/3] lib: Make all completion callbacks into OClosures.
...---- ocaml/examples/asynch_copy.ml | 5 +-- .../test_505_aio_pread_structured_callback.ml | 12 ++++--- ocaml/tests/test_590_aio_copy.ml | 5 +-- 4 files changed, 30 insertions(+), 28 deletions(-) diff --git a/generator/generator b/generator/generator index 8f15786..6ccfc5f 100755 --- a/generator/generator +++ b/generator/generator @@ -1836,9 +1836,8 @@ C<nbd_pread>."; "aio_pread_callback", { default_call with - args = [ BytesPersistOut ("buf", "count"); UInt64 "offset"; - Closure completion_c...