commit | 4d22c148c989f80e4377233bed886e96d85ef645 | [log] [tgz] |
---|---|---|
author | Juan Quintela <quintela@redhat.com> | Wed Apr 18 00:38:17 2018 +0200 |
committer | Juan Quintela <quintela@redhat.com> | Wed Jun 27 13:28:11 2018 +0200 |
tree | 4e1c8924652416d96cd0f588e1d43721818df6fe | |
parent | 8b2db7f5fd9566ab9cf22b02b623c51b2075a60e [diff] |
migration: Wait for blocking IO We have three conditions here: - channel fails -> error - we have to quit: we close the channel and reads fails - normal read that success, we are in bussiness So forget the complications of waiting in a semaphore. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>