diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-04-27 11:05:07 +0100 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2016-05-26 11:31:50 +0530 |
commit | 6ddd2d76ca6f86f7a6c29291ec3bca32d15bab24 (patch) | |
tree | 0960bfc8add783ee24c8cf8433663c41aa0b7a6e /HACKING | |
parent | 527792fae60486c912146a14f601b830d160fe36 (diff) |
migration: convert RDMA to use QIOChannel interface
This converts the RDMA code to provide a subclass of QIOChannel
that uses RDMA for the data transport.
This implementation of RDMA does not correctly handle non-blocking
mode. Reads might block if there was not already some pending data
and writes will block until all data is sent. This flawed behaviour
was already present in the existing impl, so appears to not be a
critical problem at this time. It should be on the list of things
to fix in the future though.
The RDMA code would be much better off it it could be split up in
a generic RDMA layer, a QIOChannel impl based on RMDA, and then
the RMDA migration glue. This is left as a future exercise for
the brave.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1461751518-12128-18-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions