Skip to content

A bunch of RDMA fixes

Dr. David Alan Gilbert (git) qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 5 repliesIn review
  2. v35 patches 1 replySuperseded
  3. v25 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches9 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6migration/rdma: Fix race on sourcemigration/rdma.c+6 -60 replies
2/6migration: Close file on failed migration loadmigration/migration.c+1 -01 reply
3/6migration/rdma: fix qemu_rdma_block_for_wrid error pathsmigration/rdma.c+6 -22 replies
4/6migration/rdma: Allow cancelling while waiting for wridmigration/rdma.c+53 -61 reply
5/6migration/rdma: Safely convert control typesmigration/rdma.c+32 -221 reply
6/6migration/rdma: Send error during cancellingmigration/rdma.c+3 -10 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchPeter XuJuan Quintela
1/6R-b
2/6R-b R-b
3/6R-b
4/6R-b
5/6R-b R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 0/6] A bunch of RDMA fixes

From: "Dr. David Alan Gilbert" <[email protected]>

This is a bunch of RDMA fixes, the first is a race
I spotted a while ago that you don't hit during normal operation; the rest are to do with migration failure and cancellation that I started looking at because of lp1545052 which is a failure to recover on the source if the destination fails.

I'm pretty sure there are other cases where the source
might hang waiting for a failed destination; particularly if the destination hangs rather than fails completely; one I know of is waiting for the event after the rdma_disconnect but I don't have a good fix for it. Suggestions welcome.

v4
Fix more error paths in qemu_rdma_block_for_wrid - often the 'ret' wasn't set. Fix that and also fix the case we add to also set the ret. Spotted by Peter.

Dr. David Alan Gilbert (6):
migration/rdma: Fix race on source
migration: Close file on failed migration load migration/rdma: fix qemu_rdma_block_for_wrid error paths migration/rdma: Allow cancelling while waiting for wrid migration/rdma: Safely convert control types migration/rdma: Send error during cancelling

 migration/migration.c |   1 +
 migration/rdma.c      | 137 ++++++++++++++++++++++++++++++++++++--------------
 2 files changed, 101 insertions(+), 37 deletions(-)
Signature · 1 line
2.13.0