Displaying 4 results from an estimated 4 matches for "aio_peek_command_completed".
2019 May 22
0
[libnbd PATCH v3 3/7] commands: Expose FIFO ordering of server completions
...depend on fully serialized answers. For example, knowing
whether a write response arrived prior to a flush response can be used
to learn whether the flush covered the write, or whether another flush
may be needed. We need both a way to let the client query which
command completed first (a new nbd_aio_peek_command_completed) and to
treat the completed list as a queue rather than a stack to preserve
FIFO order.
---
generator/generator | 12 ++++++++++++
generator/states-reply.c | 13 ++++++++++---
lib/aio.c | 13 +++++++++++++
3 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/generato...
2019 Sep 05
0
[PATCH libnbd] generator: Move first_version fields to a single table.
...;, (1, 0);
+ "aio_is_created", (1, 0);
+ "aio_is_connecting", (1, 0);
+ "aio_is_ready", (1, 0);
+ "aio_is_processing", (1, 0);
+ "aio_is_dead", (1, 0);
+ "aio_is_closed", (1, 0);
+ "aio_command_completed", (1, 0);
+ "aio_peek_command_completed", (1, 0);
+ "aio_in_flight", (1, 0);
+ "connection_state", (1, 0);
+ "get_package_name", (1, 0);
+ "get_version", (1, 0);
+ "kill_subprocess", (1, 0);
+ "supports_tls", (1, 0);
+ "supports_uri", (1, 0);
+
+ (* Added...
2019 Sep 05
3
[PATCH libnbd] generator: Move first_version fields to a single table.
This doesn't include Eric's new APIs, but if you push those
then I can rebase this one on top.
Rich.
2019 May 22
12
[libnbd PATCH v3 0/7] Avoid deadlock with in-flight commands
Since v2:
- rebase to Rich's new API calls
- more refactoring in patch 1 (retitled)
- new patches 3 and 4
- fix data corruption in patch 6 (was 4)
- more tweaks to the reproducer example (including using new API from 3)
Eric Blake (7):
lib: Refactor command_common() to do more common work
commands: Allow for a command queue
commands: Expose FIFO ordering of server completions