Displaying 2 results from an estimated 2 matches for "85fa66f".
Did you mean:
35f4a66f
2019 Jun 27
0
[libnbd PATCH 2/2] poll: Improve our interface
...to permit that external event in any other public state.
But that's a bigger patch.
---
generator/generator | 18 +++++++++++++-----
lib/poll.c | 13 ++++++++++---
2 files changed, 23 insertions(+), 8 deletions(-)
diff --git a/generator/generator b/generator/generator
index 684fb44..85fa66f 100755
--- a/generator/generator
+++ b/generator/generator
@@ -1571,13 +1571,21 @@ validate that the server obeyed the flag.";
"poll", {
default_call with
- args = [ Int "timeout" ]; ret = RErr;
+ args = [ Int "timeout" ]; ret = RInt;
shortdesc...
2019 Jun 27
3
[libnbd PATCH 0/2] socket handling cleanups
While working on a new test of what happens when the server goes away
while commands are in flight, I managed to hit a race where I hit
death from SIGPIPE instead of a clean transition to the DEAD state. I
also found myself wanting to use nbd_poll from the test, but with a
way to distinguish between the state machine progressing vs. hanging.
Eric Blake (2):
socket: Avoid SIGPIPE where possible