On 2/19/20 7:52 PM, Glauber Costa wrote: > I don't see a crash now, thanks. Updated again, should be more solid now. Just in case you run into issues. > I can now go back to trying to figure out why the test is just hanging > forever, as I was doing earlier =) > (99.9% I broke something with the last rework). > > Out of curiosity, as it may help me with the above: I notice you > didn't add a patch on top, but rather rebased the tree. Yeah, the poll based async bits are very much a work in progress, and I'll just fold fixes for now. > What was the problem leading to the crash ? It had to do with repeated retry. Eg we want to read from something, we try and get -EAGAIN. Arm the poll handler, poll results says we're good to go. Retry, get -EAGAIN again. Now we give up, but the state wasn't restored properly. -- Jens Axboe