libnbd/0001-TODO-Mark-some-items-done.patch
Richard W.M. Jones f001a4af3f Add all upstream patches since 0.9.6 was released.
Package the ocaml bindings into a subpackage.
2019-08-03 15:35:41 +01:00

45 lines
1.4 KiB
Diff

From ed86327eef65c2be126cc8b1d1390a627dc89024 Mon Sep 17 00:00:00 2001
From: Eric Blake <eblake@redhat.com>
Date: Tue, 30 Jul 2019 15:41:55 -0500
Subject: [PATCH 01/11] TODO: Mark some items done
0.1.9 included an example of glib (bc3b4230); on the other hand, we
may still want examples of use of ppoll (I experimented with that on
nbdkit but decided that pipe-to-self was more efficient), or pollfd
(Linux-only).
0.1.9 added callback(FREE) (2d9b98e9) which let us fix language
bindings to release callbacks as soon as possible.
0.9.6 got rid of cookies in the completion callback (7091933f), which
in turn avoids the potential race of an early callback.
---
TODO | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/TODO b/TODO
index 6f3c7d8..87bcc1a 100644
--- a/TODO
+++ b/TODO
@@ -1,16 +1,9 @@
-Explore separation of nbd_aio_pread/nbd_aio_submit(callback) since
-current nbd_aio_pread_callback(callback) can race into the callback
-before cookie is known to the user.
-
Explore if nbd_aio_notify_error is needed for faster response if
server goes away.
-Improve python bindings to free persistent closure wrappers at time
-of command completion rather than nbd close.
-
Bindings in other languages.
-Example code integrating with glib2, APR pollset (and others?).
+Example code integrating with ppoll, pollfd, APR pollset (and others?).
Example command line utils to copy in/out (like qemu-img convert).
--
2.22.0