[PATCH v3 0/2] enable fsdax rdma migration

Li Zhijian posted 2 patches 2 years, 7 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210910070255.509349-1-lizhijian@cn.fujitsu.com
Maintainers: "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Juan Quintela <quintela@redhat.com>
meson.build            |   6 +++
migration/rdma.c       | 115 ++++++++++++++++++++++++++++++++++-------
migration/trace-events |   2 +
3 files changed, 103 insertions(+), 20 deletions(-)
[PATCH v3 0/2] enable fsdax rdma migration
Posted by Li Zhijian 2 years, 7 months ago
Previous qemu are facing 2 problems when migrating a fsdax memory backend with
RDMA protocol.
(1) ibv_reg_mr failed with Operation not supported
(2) requester(source) side could receive RNR NAK.

For the (1), we can try to register memory region with ODP feature which
has already been implemented in some modern HCA hardware/drivers.
For the (2), IB provides advise API to prefetch pages in specific memory
region. It can help driver reduce the page fault on responder(destination)
side during RDMA_WRITE.

V3: fix FreeBSD compling error


Li Zhijian (2):
  migration/rdma: Try to register On-Demand Paging memory region
  migration/rdma: advise prefetch write for ODP region

 meson.build            |   6 +++
 migration/rdma.c       | 115 ++++++++++++++++++++++++++++++++++-------
 migration/trace-events |   2 +
 3 files changed, 103 insertions(+), 20 deletions(-)

-- 
2.31.1